Skip to content

Instantly share code, notes, and snippets.

@christianparpart
Created July 21, 2020 14:11
Show Gist options
  • Select an option

  • Save christianparpart/0ea6cdf8c45543fb1584d04feccfebc6 to your computer and use it in GitHub Desktop.

Select an option

Save christianparpart/0ea6cdf8c45543fb1584d04feccfebc6 to your computer and use it in GitHub Desktop.
# make sure you are in YOUR branch
git checkout replace-binds
# retrieve the commit SHA of your commit
SHA=$(git log --oneline HEAD~.. | awk '{print $1}')
git fetch
git reset --hard origin/wip
# XXX are you still in replace-binds branch?
git cherry-pick ${SHA}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment