Skip to content

Instantly share code, notes, and snippets.

@ysubach
Created March 14, 2017 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ysubach/35a9048914e29c101ac251041c888da0 to your computer and use it in GitHub Desktop.
Save ysubach/35a9048914e29c101ac251041c888da0 to your computer and use it in GitHub Desktop.
Apply git commit from another branch

You can easily apply commit done to another branch into current one using git cherry-pick command:

git cherry-pick <commit>

Read help for more information:

git cherry-pick –help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment