Created
April 6, 2015 15:12
-
-
Save niothiel/f0b4c227f0d3d43a5681 to your computer and use it in GitHub Desktop.
Add the following lines to ~/.gitconfig. It will give you the "git g" alias, allowing you to see a nice graphical view of what is happening in your repository.
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
[alias] | |
g = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(reset)%C(bold yellow)%d%C(reset) %C(white)%s%C(reset) %C(dim white)- %an' --all | |
l = log --graph --abbrev-commit --decorate --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment