Answer the question
In order to leave comments, you need to log in
What will happen to the merged branch in git?
Hello.
There are two development branches in my project. (br1 and br2)
I need to merge the br2 branch with my br1 so that nothing happens to the br2 branch and the second developer continues to work in it.
Tell me, if I use merge with a recursive strategy, will I get what I want or not?
Answer the question
In order to leave comments, you need to log in
You can do
git checkout br1
git merge br2
Changes from br2 will go into br1. br2 will not change in any way.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question