D
D
Denis2017-05-27 20:35:09
git
Denis, 2017-05-27 20:35:09

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

1 answer(s)
D
Denis Zagaevsky, 2017-05-27
@lacredin

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 question

Ask a Question

731 491 924 answers to any question