Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (23 sloc) 883 Bytes
[alias]
aliases = config --get-regexp '^alias\\.'
br = branch
branch-name = rev-parse --abbrev-ref HEAD
ci = commit -m
cm = !git add -A && git commit -m
co = checkout
cob = checkout -b
cl = checkout -
dsf = "!f() { [ -z \"$GIT_PREFIX\" ] || cd \"$GIT_PREFIX\" && git diff --color \"$@\" | diff-so-fancy | less --tabs=4 -RFX; }; f"
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lo = log --oneline
poop = stash pop
pr = "!git push -u origin $(git branch-name)"
s = status
st = status -sb
save = !git add -A && git commit -m "SAVEPOINT"
tagcommit = rev-list -n 1
undo = reset HEAD~1 --mixed
unpub = "!git push origin :$(git branch-name)"
unstage = reset HEAD
wip = !git add -u && git commit -m "WIP"
wipe = !git add -A && git commit -qm "WIPE SAVEPOINT" && git reset HEAD~1 --hard
You can’t perform that action at this time.