Added cbranch command to move to new branch after commit

This commit is contained in:
Austen Adler 2014-06-18 19:30:24 -04:00
parent 02ed68f2be
commit 11ea2ff314

View File

@ -14,6 +14,7 @@
type = cat-file -t type = cat-file -t
dump = cat-file -p dump = cat-file -p
d = difftool d = difftool
cbranch = !sh -c 'git commit -m \"$1\"&&git branch $2&&git reset --hard HEAD~1&&git co \"$2\"' -
[push] [push]
default = matching default = matching
[core] [core]