Created
July 9, 2019 18:24
-
-
Save Gricha/98afa3a6e84490486fe35851a6fd2f7f to your computer and use it in GitHub Desktop.
Git Smartlog
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] | |
smartlog = log --graph --pretty=format:'%C(dim white)(%h)%Creset %C(bold white)%s%Creset %C(bold magenta)%d%Creset%n %C(bold cyan)%an%Creset %C(blue)(%ae)%Creset %C(dim blue)%ci %Creset%n' | |
sl = !git smartlog | |
// Set globally | |
$ git config --global alias.smartlog "log --graph --pretty=format:'%C(dim white)(%h)%Creset %C(bold white)%s%Creset %C(bold magenta)%d%Creset%n %C(bold cyan)%an%Creset %C(blue)(%ae)%Creset %C(dim blue)%ci %Creset%n'" | |
$ git config --global alias.sl '!git smartlog' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment