Skip to content

Instantly share code, notes, and snippets.

@nohtyp
Last active December 29, 2015 18:29
Show Gist options
  • Save nohtyp/7710941 to your computer and use it in GitHub Desktop.
Save nohtyp/7710941 to your computer and use it in GitHub Desktop.
git shortcut to get data of repo without looking at git web interface
git log --pretty=format:"%h - %an - %ar - %s"
To ignore last modifications and restart over from your repository:
git stash save --keep-index; git pull; git stash drop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment