Created
August 7, 2012 17:56
-
-
Save b-durand/3287832 to your computer and use it in GitHub Desktop.
Git config
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
[user] | |
name = John Doe | |
email = j.doe@github.com | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
[alias] | |
slog = log --pretty=format:'%Creset%C(red bold)[%ad] %C(blue bold)%h %Creset%C(magenta bold)%d %Creset%s %C(green bold)(%an)%Creset' --abbrev-commit --date=short | |
glog = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | |
new = !sh -c 'git log $1@{1}..$1@{0} "$@"' | |
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -" | |
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short | |
who = shortlog -s -- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment