Created
February 9, 2018 09:33
-
-
Save nissshh/7ed0d8e34e7e047152100e63f099ebda to your computer and use it in GitHub Desktop.
Cherry Pick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A very important command that i learnt was a git cherry-pick , that is usefulll in cases wher you want to move only a perticular commit from other branch | |
to your branch. In regular cases if you merge 2 branches all teh changes (from head) are merged to target. | |
e.g. git cherry-pick -n <commit> | |
-n option is important , as the command keeps the changes in your working files, if not given checkes in the change. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment