Skip to content

Instantly share code, notes, and snippets.

@devjev
Last active December 27, 2015 12:19
Show Gist options
  • Save devjev/7325149 to your computer and use it in GitHub Desktop.
Save devjev/7325149 to your computer and use it in GitHub Desktop.
Show the last 5 commits in an abbreviated form
git log –pretty=oneline –-abbrev-commit | head –n 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment