Answer the question
In order to leave comments, you need to log in
How to rollback the creation of a branch in git?
I have a master branch and a new update branch
. I committed all the changed files in update, which is why these changes disappeared from master.
I want to delete the update branch and have all changes returned to master
Please tell me, if I just delete the update branch, will the changes be lost somewhere, or go back to master?
Answer the question
In order to leave comments, you need to log in
Switch to the master branch and run the command git merge update
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question