Created
August 21, 2019 07:26
-
-
Save smostovoy/92bdd6f8a43c5052c40b7dc942cb21c2 to your computer and use it in GitHub Desktop.
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 = Sergey Mostovoy | |
email = svmostovoy@gmail.com | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[alias] | |
a = add | |
s = status | |
st = stash | |
sta = stash apply | |
r = rebase | |
m = merge | |
ms = merge --squash | |
#Branching | |
b = branch | |
ba = branch -a -v -v | |
bs = !git-branch-status | |
bsi = !git-branch-status -i | |
#Pulling | |
pl = pull | |
plr = pull --rebase | |
ph = push | |
plo = pull origin master | |
#Commiting | |
c = commit | |
cm = commit -m | |
cam = commit --all -m | |
ca = commit --all | |
caa = commit --all --amend | |
#Svn helper | |
# sc = svn dcommit | |
# sr = svn rebase | |
co = checkout | |
com = checkout master | |
#Diffs | |
d = diff --color | |
ds = diff --color --stat | |
dsp = diff --color --stat -p | |
#Log | |
l = log --color --decorate | |
ls = log --color --stat --decorate | |
lsp = log --color --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 | |
# for complicated branches | |
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 # including remote files | |
ls-new = ls-files --exclude-standard -o | |
ls-ign = ls-files --exclude-standard -o -i | |
[core] | |
excludesfile = ~/.gitignore | |
autocrlf = input | |
[credential] | |
helper = osxkeychain | |
[filter "lfs"] | |
clean = git-lfs clean %f | |
smudge = git-lfs smudge %f | |
required = true | |
[push] | |
default = current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment