Last active
January 1, 2020 01:54
-
-
Save aryelgois/bcba085572e2786a579d82354ad540f6 to your computer and use it in GitHub Desktop.
A complete commit log tree for 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 | |
# A complete commit log tree for git. | |
p=$(git config --get core.pager) || p=${PAGER:-less} | |
( | |
git log --color=always --format=fuller -1 2>&1 && | |
echo && | |
git log --color=always --all --date-order --decorate --graph --oneline | |
) | $p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment