Created
June 8, 2011 10:15
-
-
Save gorenje/1014155 to your computer and use it in GitHub Desktop.
git global 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
[alias] | |
st = status | |
ci = commit | |
co = checkout | |
cp = cherry-pick | |
br = branch | |
lg = log | |
ms = merge --squash | |
rs = remote show | |
pish = push | |
d = diff | |
ls = ls-files | |
wn = !BRANCH=$(git symbolic-ref HEAD|sed s:refs/heads/::) && git fetch -q origin && git log --reverse --stat -p ${BRANCH}..origin/${BRANCH} | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
ui = auto | |
interactive = auto | |
svn = auto | |
[core] | |
excludesfile = /home/username/.gitignore | |
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
whitespace = red reverse | |
[color "status"] | |
added = yellow | |
changed = white | |
untracked = cyan | |
[color "log"] | |
commit = red reverse |
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] | |
st = status | |
ci = commit | |
co = checkout | |
cp = cherry-pick | |
br = branch | |
lg = log | |
ms = merge --squash | |
rs = remote show | |
pish = push | |
d = diff | |
ls = ls-files | |
wn = !BRANCH=$(git symbolic-ref HEAD|sed s:refs/heads/::) && git fetch -q origin && git log --reverse --stat -p ${BRANCH}..origin/${BRANCH} | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
ui = auto | |
interactive = auto | |
svn = auto | |
[core] | |
excludesfile = /home/username/.gitignore | |
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
whitespace = red reverse | |
[color "status"] | |
added = yellow | |
changed = white | |
untracked = cyan | |
[color "log"] | |
commit = red reverse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment