Created
August 27, 2013 09:17
-
-
Save janisozaur/6351431 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
[color] | |
ui = auto | |
[alias] | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit \ | |
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) \ | |
%C(bold blue)<%an>%Creset' | |
loll = log --graph --decorate --pretty=oneline --abbrev-commit \ | |
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) \ | |
%C(bold blue)<%an>%Creset' --numstat | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all \ | |
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) \ | |
%C(bold blue)<%an>%Creset' | |
sc = svn dcommit --interactive | |
cp = cherry-pick | |
st = status | |
co = checkout | |
ci = commit | |
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate | |
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat | |
lnc = log --pretty=format:"%h\\ %s\\ [%cn]" | |
fl = log -u | |
dl = "!git ll -1" | |
dc = diff --cached | |
f = "!git ls-files | grep" | |
la = "!git config -l | grep alias | cut -c 7-" | |
assume = update-index --assume-unchanged | |
unassume = update-index --no-assume-unchanged | |
assumed = "!git ls-files -v | grep ^h | cut -c 3-" | |
unassumeall = "!git assumed | xargs git update-index --no-assume-unchanged" | |
assumeall = "!git st -s | awk {'print $2'} | xargs git assume" | |
cl = clone | |
br = branch | |
top = rev-parse --show-toplevel | |
ct = "!cd $(git top)" | |
[core] | |
pager = less -FRS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment