Skip to content

Instantly share code, notes, and snippets.

@le0nidas
Created May 17, 2020 15:21
Show Gist options
  • Save le0nidas/8215a67e1b448d2af39310186bfd7251 to your computer and use it in GitHub Desktop.
Save le0nidas/8215a67e1b448d2af39310186bfd7251 to your computer and use it in GitHub Desktop.
[alias]
cherry-grab = "!f() { \
git rev-list $1^2 ^$1^1 | tac | xargs git cherry-pick; \
}; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment