Created
May 31, 2017 11:12
-
-
Save tueda/d411b7ddc4167c5bb209040b637d5e2d to your computer and use it in GitHub Desktop.
Show pretty branch graphs. #bin #sh #git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Show pretty branch graphs. | |
# | |
# Usage: | |
# git graph [<log options>] | |
# | |
git log --graph --date=short --format='%C(yellow)%h%C(reset) %C(magenta)[%ad]%C(reset) %s %C(cyan)@%an%C(reset)%C(auto)%d%C(reset) ' "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment