Added db and bumped emacs pointer.

This commit is contained in:
Ivan Malison 2014-04-17 11:51:21 -07:00
parent f770ae6c7b
commit 77ad61d281
2 changed files with 35 additions and 33 deletions

@ -1 +1 @@
Subproject commit 11ab9113442bb886a30a7c79dead43b37f8c49c5
Subproject commit 30e294b77b1d8d8b9367cc74c1ba307752641494

View File

@ -16,7 +16,9 @@
# diff tracking branch merge base
dtbmb = !git diff `git tb`...HEAD
root = rev-parse --show-toplevel
ignore = !"i() { printf \"\n$1\" >> "`git root`/.gitignore"; }; i"
ignore = "!i() { printf \"\n$1\" >> "`git root`/.gitignore"; }; i"
power-clean = clean -ffd
db = !"db() { git diff HEAD~"$1"; }; db"
branches = branch -a
remotes = remote -v
@ -38,7 +40,7 @@
# Diff a file or show it in git's pager if it is untracked
du = "!d() { git ls-files $1 --error-unmatch 2>/dev/null 1>/dev/null && git diff $1 || `git config --get core.pager` $1; }; d"
clean-branches = "!r() { git branch -r --merged ${1-origin/master} | xargs -n1 git branch -d; }; r"
clean-remote-branches =
rmremotetag = "!rm() { git push $1 :refs/heads/tags/$2; } rm"
[core]
# Use custom `.gitignore` and `.gitattributes`