E
E
elvirastelm2020-11-25 13:52:40
git
elvirastelm, 2020-11-25 13:52:40

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 answer(s)
V
Vasily Bannikov, 2020-11-25
@vabka

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 question

Ask a Question

731 491 924 answers to any question