Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to execute the push command #76333

Open
Teena-Jacob opened this issue Oct 30, 2023 · 6 comments
Open

unable to execute the push command #76333

Teena-Jacob opened this issue Oct 30, 2023 · 6 comments

Comments

@Teena-Jacob
Copy link

Teena-Jacob commented Oct 30, 2023

$ 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

@Teena-Jacob
Copy link
Author

Hi.

I figured it out. The reason was my local git configuration was not updated with my new git user account.

Thank you

@Esh07
Copy link
Contributor

Esh07 commented Nov 3, 2023

Please close this issue if it fixed.

Cheers

@kenshanta
Copy link

@Teena-Jacob Is this issue resolved? If so lets close it

@BijoySaga
Copy link

is this issue resolved if not i can help .

@gmpsankalpa
Copy link
Contributor

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.

@Peter3Khalil
Copy link
Contributor

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants