Skip to content

Instantly share code, notes, and snippets.

@noahpresler
Last active July 22, 2017 16:59
Show Gist options
  • Save noahpresler/b5cb4431cc0ac55ae8655d52b4ddeae0 to your computer and use it in GitHub Desktop.
Save noahpresler/b5cb4431cc0ac55ae8655d52b4ddeae0 to your computer and use it in GitHub Desktop.
Rebasing
git branch -D temp
git fetch --all
git checkout feature/vectorized_search
git reset origin/feature/vectorized_search --hard
git checkout -b temp origin/staging
git reset --hard beb2058e8b958cd58a8aa94e0c22e33ac3f0a6f6
git checkout feature/vectorized_search
git rebase --onto temp 3f059fadbd45ad29bcd7a47d9ab87aff3ea8b42e^
git merge staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment