Skip to content

Instantly share code, notes, and snippets.

@juwencheng
Forked from sverweij/git-fancy-pancy.sh
Created April 13, 2016 09:32
Show Gist options
  • Save juwencheng/2870fe275a611f0792f20b7833683dee to your computer and use it in GitHub Desktop.
Save juwencheng/2870fe275a611f0792f20b7833683dee to your computer and use it in GitHub Desktop.
Fancy command line git history
# shamelessly copied from @d
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
@juwencheng
Copy link
Author

Truly useful command line

@juwencheng
Copy link
Author

Git日志输出格式美化

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