Skip to content

Instantly share code, notes, and snippets.

@jfialkoff
Last active August 8, 2018 21:16
Show Gist options
  • Save jfialkoff/500270d6afa0d7d36f2287782740a0ef to your computer and use it in GitHub Desktop.
Save jfialkoff/500270d6afa0d7d36f2287782740a0ef to your computer and use it in GitHub Desktop.
Git cheatsheet
Show log of modified files:
git log --name-only
Previous revision of a file:
git show REVISION:path/to/file
Merge upstream git branch:
git fetch upstream
git merge upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment