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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -