Gagal Pull dan Push File pada Github

Pada percobaan update file project kali ini gagaldan terdapat error seperti pada permasalahan dibawah



Permasalahan :

sh-3.2# git pull

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.

fatal: unable to access 'https://github.com/tkab.git/': The requested URL returned error: 403

sh-3.2# git clone https://github.com/tkab.git

Cloning into 'tka-jakon'...

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.

fatal: unable to access 'https://github.com/tkab.git/': The requested URL returned error: 403



Solusi :

Step 1:

Go to https://github.com/ And Navigate to Settings.





Step 2:

Got to Developers Settings Page & Navigate to Personal Access Token.





Step 3:

Generate new token with providing scopes you required.





Final Step:

Update your git remote URL by


git remote set-url origin https://<token>@github.com/<git_url>




Reference:

https://iamnaran.medium.com/fixed-support-for-password-authentication-was-removed-628faf76057


Komentar

Postingan populer dari blog ini

UAS Audit Teknologi Informasi Menggunakan ACL

Web Service

Cara menjalankan kode Python dari dalam Visual Studio Code