How can I push my code? #119343
Unanswered
cxy-1993
asked this question in
Code Security
How can I push my code?
#119343
Replies: 1 comment 1 reply
-
The error is saying the PAT you are using to push the code does not have sufficient permission. Because you are modified (I guess) a workflow YML file, you need to review your PAT to include |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
When I tried to push the code to the repository, I encountered an issue. Here is the process of what happened:
I have forked a repo from llvm-project, made some modifications ("main branch in https://github.com/cxy-1993/llvm-project"). After rebase master, I can't push codes to main branch. Here is the error log:
I tried to follow instructions(https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule) to make the branch unprotected, but I can't find branch button in "Code and automation" section of the sidebar.
I also find related discussion here(https://github.com/orgs/community/discussions/26254). Neither generate new tokens nor use github cli were of any help to me.
So how can I push my code, just push force is enough for me. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions