Skip to content

Instantly share code, notes, and snippets.

@khancyr
Created September 20, 2018 11:15
Show Gist options
  • Save khancyr/bea22603ca1d3ac045c001c39d9e7e4f to your computer and use it in GitHub Desktop.
Save khancyr/bea22603ca1d3ac045c001c39d9e7e4f to your computer and use it in GitHub Desktop.
backport from master to another branch
git cherry-pick $(git log --format=oneline --no-merges branch..source/branch directory | tac | cut -d " " -f 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment