first-contributions
first-contributions copied to clipboard
unable to execute the push command
$ git push -u origin teensContribution remote: Permission to Teena-Jacob/first-contributions.git denied to TeenaJacob. fatal: unable to access 'https://github.com/Teena-Jacob/first-contributions/': T he requested URL returned error: 403
Can you help to resolve it
Hi.
I figured it out. The reason was my local git configuration was not updated with my new git user account.
Thank you
Please close this issue if it fixed.
Cheers
@Teena-Jacob Is this issue resolved? If so lets close it
is this issue resolved if not i can help .
In my case, the issue was a bug in curl 8.0.1 for Windows related to HTTP/2. One could workaround this by forcing HTTP/1.1:
git config --global http.version HTTP/1.1
for just this one push, reverting the change with:
git config --global http.version HTTP/2.
Because git does not know you, you should tell git who are you with the following commands:
git config --global user.email "Enter your Github Email here"
#And
git config --global user.name "Enter you Github Username"