I have my code in one branch in the team git repo. Now I need to "transfer" (i.e push) it into another branch of the same repo which team members are using. How can I do that ?
I prefer using git bash.
P.S - The new branch I have to transfer to is not "master".
go to the target branch (git checkout target
) and merge the code-having branch (git merge code-having
). then, if needed, push the updated target branch to its remote.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With