add bre and brer for branch-editing

Fri, 10 Jun 2016 15:12:10 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 10 Jun 2016 15:12:10 -0400
changeset 335
fe632d892513
parent 334
0c53623b7dee
child 336
a921d84589cf

add bre and brer for branch-editing

.gitconfig file | annotate | diff | comparison | revisions
--- a/.gitconfig
+++ b/.gitconfig
@@ -28,6 +28,8 @@
 	ctags   = "!~/.git_helpers/ctags"
 	glog    = log --graph --pretty=onelinecustom
 	recent  = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\"' "$@"
+	bre     = !vim $(git diff --name-only @{u}..)
+	brer    = !vim --remote $(git diff --name-only @{u}..)
 
 [pretty]
 	onelinecustom = tformat:%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset

mercurial