git - How do I merge one commit of a branch to another branch - use case -
i have branch access-permission
@ local in github remote. made changes it, committed locally , pushed access-permission
remote branch.
now require merge commit remote branch called staging
. not have staging
branch locally.
i may possibly clone remote staging
branch local, checkout it, merge access-permission
, commit remote staging
branch. right way go? there way without having staging
branch locally?
i don't have enough experience using git
got confused. please advise.
what have described is correct way this. you'll have have local copy of staging
branch in order merge between 2 branches.
it place handle possible conflicts durring merge.
Comments
Post a Comment