github error: Pushing to Git returning Error Code 403 fatal
--create repositories project
git clone https://github.com/useranme/repositories.git
--config github username email
git config --global user.email "your_github_email_@email.com"
git config --global user.name "Your full name"Start github
create a new repository on the command line
echo "# App" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/username/App.git
git push -u origin main
push an existing repository from the command line
git remote add origin https://github.com/username/App.git
git branch -M main
git push -u origin main
Error github Code
Error Code 403
For Windows you can find the keys here:
control panel > user accounts > credential manager > Windows credentials > Generic credentials
Next, remove the Github keys.
For macOS you can fine the keys here;
1-In Finder, search for the Keychain Access app.
2 In Keychain Access, search for github.com.
3-Find the "internet password" entry for github.com.
4-Edit or delete the entry accordingly.
config Fix Error :
>git config --global --unset-all credential.helper
>git config --unset-all credential.helper
ssh Fix Error:
ssh-keygen -t rsa -C "your_email@example.com"
Token Fix :
ความคิดเห็น
แสดงความคิดเห็น