Created
February 29, 2012 03:57
-
-
Save adw0rd/1937513 to your computer and use it in GitHub Desktop.
My git 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
[user] | |
name = <SOME USERNAME> | |
email = <SOME EMAIL> | |
[github] | |
user = <SOME USERNAME> | |
token = <SOME TOKEN> | |
[core] | |
whitespace = trailing-space, space-before-tab, cr-at-eol | |
[color] | |
diff = always | |
status = auto | |
branch = auto | |
[alias] | |
merge = merge --no-ff | |
st = status | |
ci = commit | |
co = checkout | |
addn = add -N | |
br = branch | |
ba = branch -a -v -v | |
bs = !git-branch-status | |
bsi = !git-branch-status -i | |
d = diff -C | |
ds = diff -C --stat | |
dsp = diff -C --stat -p | |
dw = diff -C --color-words | |
df = diff --staged | |
l = log -C --decorate | |
l2 = log --name-status | |
ls = log -C --stat --decorate | |
lsp = log -C --stat -p --decorate | |
lg = log --graph '--pretty=tformat:%Cblue%h%Creset %Cgreen%ar%Creset %Cblue%d%Creset %s' | |
lga = log --graph '--pretty=tformat:%Cblue%h%Creset %Cgreen%ar%Creset %Cblue%d%Creset %s' --all | |
l19 = log --graph '--pretty=tformat:%Cblue%h%Creset %Cgreen%ar%Creset %Cblue%d%Creset %s' --all -19 | |
# для сложных ветвлений | |
lsd = log --graph '--pretty=tformat:%Cblue%h%Creset %Cgreen%ar%Creset %Cblue%d%Creset %s' --all --simplify-by-decoration | |
ru = remote update | |
sb = show-branch --sha1-name | |
ls-del = ls-files -d | |
ls-mod = ls-files -m # включая удалённые файлы | |
ls-new = ls-files --exclude-standard -o | |
ls-ign = ls-files --exclude-standard -o -i | |
ka = !gitk --all | |
kdo = !gitk --date-order | |
kado = !gitk --all --date-order | |
kasd = !gitk --all --simplify-by-decoration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Чаще всего использую алиасы: st, ci, co, df, br, lsd, а остальными достаточно редко.