I cant add changes to github #186164
Unanswered
ozzymagnum
asked this question in
New to GitHub
Replies: 1 comment 8 replies
-
|
Why this error happens This means: The repository belongs to ozzymagnum You are logged into Git as marcuspalheden-code That account does NOT have push permission to the repo GitHub is blocking the push correctly. How to fix it Your local Git is using the wrong GitHub account. Fix it like this (recommended): git config --global --unset user.name Then re-authenticate: git push GitHub will ask you to log in again → log in as ozzymagnum, not the other account. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i did this PS C:\Users\atlas\Desktop\HTML-Portfolio-Website> git push origin main
remote: Permission to ozzymagnum/HTML-Portfolio-Website.git denied to marcuspalheden-code.
Beta Was this translation helpful? Give feedback.
All reactions