bin: add rmbr

This commit is contained in:
2020-02-05 12:29:34 +00:00
parent 33066712df
commit c160992402

7
bin/rmbr Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
if [ $# -lt 1 ] ; then
echo Usage: $0 branch
exit 1
fi
echo Removing branch $1
git checkout $1 && git rebase master && git checkout master && git branch -d $1