Cannot push to remote changes I made locally #145431
Unanswered
paolovicIta90
asked this question in
Repositories
Replies: 2 comments
-
You are trying to commit on a protected branch Go to repo settings, in Settings -> Branches tab check if there is a specific protection rule for new-branch.if not
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I do not think there is any protection rule but still pushing to remote does not work |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I cannot push from my local machine to remote. I get this error:
! [remote rejected] new-branch -> new-branch (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/paolovicIta90/llm_stocks_recomendations.git'
I have changed the branch protection rule according to the following:
I have tried what was suggested in similar discussion but it s not working
Beta Was this translation helpful? Give feedback.
All reactions