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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.