Last active
September 2, 2018 12:03
-
-
Save dzmitry-varabei/233f7242e3504937e538 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 = Dzmitry Varabei | |
email = dzmitry.varabei@gmail.com | |
[credential] | |
[core] | |
autocrlf = true | |
editor = 'C:\\Program Files\\Sublime Text 3\\sublime_text.exe' | |
[color] | |
ui = true | |
[push] | |
default = simple | |
[pull] | |
rebase = true | |
[rerere] | |
enable = true | |
[alias] | |
s = status -s | |
lg = log --oneline --decorate --all --graph | |
co = checkout | |
cob = checkout -b | |
ec = config --global -e | |
cm = !git add -A && git commit -m | |
up = !git pull --rebase --prune $@ && git submodule update --init --recursive | |
save = !git add -A && git commit -m 'SAVEPOINT' | |
wip = commit -am "WIP" | |
undo = reset HEAD~1 --mixed | |
amend = commit -a --amend | |
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard | |
bclean = "!f() { git branch --merged ${1-master} | grep -v " ${1-master}$" | xargs -r git branch -d; }; f" | |
bdone = "!f() { git checkout ${1-master} && git up && git bclean ${1-master}; }; f" | |
cat = cat-file -p | |
gethash = hash-object | |
sh = show | |
trash = fsck --unreachable HEAD | |
cp = cherry-pick | |
rf = reflog | |
[merge] | |
tool = p4merge | |
[mergetool "p4merge"] | |
path = C:/Program Files/Perforce/p4merge.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment