Answers for "how to apply commit from one branch to another"

6

commit to another branch

git stash
git checkout other-branch
git stash pop
Posted by: Guest on February-28-2020
2

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.
Posted by: Guest on January-04-2022

Code answers related to "how to apply commit from one branch to another"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language