Skip to content

Instantly share code, notes, and snippets.

@ScoreUnder
Created March 9, 2016 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ScoreUnder/4d7794485ca2a92759bc to your computer and use it in GitHub Desktop.
Save ScoreUnder/4d7794485ca2a92759bc to your computer and use it in GitHub Desktop.
"git log1" script
#!/bin/sh
exec git log --oneline --graph --format='%C(yellow)%h %C(bold blue)%an %C(reset)%s %C(green)%GG%C(yellow)%D' "$@"
@ScoreUnder
Copy link
Author

↑ A short script which works like git log --oneline, but also shows the author of each commit and the graph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment