Add git dtbmb.

This commit is contained in:
Ivan Malison 2014-04-16 14:40:28 -07:00
parent 04a5c9767e
commit 3a3e826f7d

View File

@ -4,12 +4,16 @@
c = clone --recursive c = clone --recursive
ff = merge --ff-only ff = merge --ff-only
ca = !git add -A && git commit -av ca = !git add -A && git commit -av
tb = rev-parse --abbrev-ref --symbolic-full-name @{u}
cam = commit -am cam = commit -am
suir = submodule update --init --recursive
poh = push origin HEAD poh = push origin HEAD
pohm = push origin HEAD:master pohm = push origin HEAD:master
suir = submodule update --init --recursive
amend = commit -a --amend -C HEAD amend = commit -a --amend -C HEAD
modified = diff HEAD --name-only
dirty = "!t() { test -n \"$(git status --porcelain)\"; }; t" dirty = "!t() { test -n \"$(git status --porcelain)\"; }; t"
# diff tracking branch merge base
dtbmb = !git diff `git tb`...HEAD
branches = branch -a branches = branch -a
remotes = remote -v remotes = remote -v