The push cannot complete and error happens,please help #84905
Replies: 3 comments 2 replies
-
|
Make sure you are logged in with the correct GitHub account and have the necessary permissions. Ensure that your local repository is configured with the correct remote in your GitHub account. |
Beta Was this translation helpful? Give feedback.
-
|
GitHub can create a personal copy of the repo for you to push changes to. |
Beta Was this translation helpful? Give feedback.
-
|
The error message you're encountering indicates that you don't have the necessary permissions to directly push changes to the original repository on GitHub. GitHub is suggesting creating a fork, which is a copy of the repository under your GitHub account where you have full control. Here's how you can proceed:
By forking the repository and creating a pull request, you're requesting the owner of the original repository to consider and merge your changes. This is a common workflow in collaborative development on GitHub. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I create a repository in github and create a file in it.
then I clone it in VSC, make some change on this file, and then save, add, commit, and then I want to push it to the repository ,and the error happens:
you don't have permission to push to "xxxxxx" (repository name) on GitHub. Would you like to create a fork and push to it instead?
Beta Was this translation helpful? Give feedback.
All reactions