Hi,
I'm trying to know if it's possible in GIT for me to create 2 different branches from the master, then the branch A merges the changes onto the master, but it look like the branch B needs some of the changes branch A just merged, but alredy has some code itself, and doesn't want to lose it, is there some way to do this?
Thanks for your time
Hi @malagathaz,
For my understanding, do you mean to following:
You could accomplish step 4 also using a Merge, but now from Master to Branch B. Another option would be rebasing. There is actually a nice explanation of this available: https://www.atlassian.com/git/tutorials/merging-vs-rebasing
Hope this helps,
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.