Skip to content

Instantly share code, notes, and snippets.

@eblahm
Created March 21, 2017 00:59
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 eblahm/e11797767196ba5098d44a2b9f4297e4 to your computer and use it in GitHub Desktop.
Save eblahm/e11797767196ba5098d44a2b9f4297e4 to your computer and use it in GitHub Desktop.
cheater-pick, when you want the code... but not the commit
cheater-pick() {
git cherry-pick $1 && git reset HEAD^ --soft
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment