Created
October 28, 2014 20:57
-
-
Save quagliero/ea10190d31dd6a3cf173 to your computer and use it in GitHub Desktop.
.gitconfig
This file contains hidden or 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 = <name> | |
email = <email> | |
[color] | |
ui = true | |
[alias] | |
changes = diff --name-status -r | |
new = !sh -c 'git log $1@{1}..$1@{0} "$@"' | |
diffstat= diff --stat -r | |
untracked= ls-files . --exclude-standard --others | |
pretty = log --pretty=format:'%C(yellow)%h%Cred%d%Creset - %C(cyan)%an %Creset: %s %Cgreen(%cr)' --decorate --graph --abbrev-commit --all | |
lg = log --pretty=format:'%C(yellow)%h%Cred%d%Creset - %C(cyan)%an %Creset: %s %Cgreen(%cr)' --all | |
[push] | |
default = simple | |
[core] | |
editor = vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment