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.

update: enter image description here

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

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -