Created
December 30, 2010 15:37
-
-
Save jsocol/759907 to your computer and use it in GitHub Desktop.
The important parts of my .gitconfig
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
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
grep = auto | |
[core] | |
excludesfile = /home/james/.gitignore | |
[alias] | |
a = add | |
ci = commit | |
co = checkout | |
br = branch | |
st = status | |
undo = checkout -- | |
gr = grep --color -p -n --full-name | |
cp = cherry-pick | |
cdiff = log -p -1 --stat | |
cpp = !sh -c "git log -p -1 $1 " | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
p = log -1 -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment