Answers for "how to git push a specific commit"

2

git add commit push one command

# The following command does not add new files, only updated pre-existing ones.
git commit -am "commit all the things" && git push
Posted by: Guest on October-22-2020
1

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 "Shell/Bash"

Browse Popular Code Answers by Language