Created
May 14, 2014 03:58
-
-
Save angrytoast/4440e49101d41298ec04 to your computer and use it in GitHub Desktop.
.gitconfig start
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] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = white bold | |
frag = magenta ul | |
old = red | |
new = green bold | |
[color "status"] | |
added = green reverse | |
changed = yellow | |
untracked = cyan ul | |
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
df = diff | |
dc = diff --cached | |
lg = log -p | |
lol = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
ls = ls-files | |
s = status --short | |
status = pull | |
# Show files ignored by git: | |
ign = ls-files -o -i --exclude-standard | |
switch = !legit switch \"$@\" | |
branches = !legit branches | |
sprout = !legit sprout \"$@\" | |
unpublish = !legit unpublish \"$@\" | |
harvest = !legit harvest \"$@\" | |
sync = !legit sync \"$@\" | |
publish = !legit publish \"$@\" | |
graft = !legit graft \"$@\" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment