Skip to content

Instantly share code, notes, and snippets.

@guillec
Last active December 7, 2017 03:19
Show Gist options
  • Save guillec/1beb6d7ac31fa5b90b3501ca161a569c to your computer and use it in GitHub Desktop.
Save guillec/1beb6d7ac31fa5b90b3501ca161a569c to your computer and use it in GitHub Desktop.
1. How to reset with origin
git reset --hard origin/master
2. How to rebase interactively. -i
3. How to add just part of a file.
4. How to check out just a file from another branch
5. How to fix commit with ammend and -i
6. git bisect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment