Skip to content

Commit 595b0e8

Browse files
author
Jigish Patel
committed
fix for prm
1 parent d55a655 commit 595b0e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
r = rev-parse --abbrev-ref HEAD
3434
h = rev-parse HEAD
3535
pr = pull-request
36-
prm = "!sh -c '[ $# = 1 ] && git stash && git checkout master && git pull && git checkout $1 && git rebase master && git push -f && git checkout master && git merge $1 && git push && git pdo $1 && git bd $1 && exit 0 || echo \"usage: git prm <branch>\" >&2 && exit 1'"
36+
prm = "!sh -c '[ $# = 1 ] && git checkout master && git pull && git checkout $1 && git rebase master && git push -f && git checkout master && git merge $1 && git push && git pdo $1 && git bd $1 && exit 0 || echo \"usage: git prm <branch>\" >&2 && exit 1'"
3737
[branch]
3838
autosetuprebase = always
3939
[gc]

0 commit comments

Comments
 (0)