Answer the question
In order to leave comments, you need to log in
git. What to do if a GIT push is made to the wrong branch?
Can you please tell me what to do if push pushed a branch commit to the wrong remote branch?
Answer the question
In order to leave comments, you need to log in
1. git reset the branch you want to rollback
2. then git push -f to reflect on the remote.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question