Skip to content

Instantly share code, notes, and snippets.

@nathanwdavis
Last active December 25, 2015 07:19
Show Gist options
  • Save nathanwdavis/b73e291b8cdef993c159 to your computer and use it in GitHub Desktop.
Save nathanwdavis/b73e291b8cdef993c159 to your computer and use it in GitHub Desktop.
My rebasing help
- ensure latest of master (or rebase source)
- (in dest branch) git rebase -i master
- follow direction, don't forget you need to `git add` changed files
- if there is a conflict
- you can fix it manually
- or if you want to just use HEAD: `git checkout HEAD -- path/to/file.js`
- git push -f origin {branch-name}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment