Added cbranch command to move to new branch after commit
This commit is contained in:
parent
02ed68f2be
commit
11ea2ff314
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user