Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to push local created commit to another branch in git

With Git Extensions you can do something like this:
(Create if not existing and) checkout new branch, where you want to push your commit.
Select the commit from the history, which should get commited & pushed to this branch.
Right click and select Cherry pick commit.
Press Cherry pick button afterwards.
 
PREVIOUS NEXT
Tagged: #push #local #created #commit #branch #git
ADD COMMENT
Topic
Name
2+2 =