git - How to copy a specific commit to another Branch? -
in git
master have 2 branches production
, testing
. work testing. @ present example production version 5. testing version 20. update production version testing version of 15.
for that, how can select testing version of 15 , copy or merge production version of 5? ( if new testing version commit id of 6 in production version that' fine )
if wrong here please excuse me.
i don't have idea. please me.
i suggest checkout (git checkout
) testing branch @ specific commit version 15. create temporary branch git checkout -b version15merge
, merge git checkout production && git merge version15merge
stuff production
branch.
Comments
Post a Comment