diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-05-09 04:21:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-05-09 04:21:55 +0000 |
commit | 453cc058d9ee6d7cb47529d99061216e72149a5f (patch) | |
tree | 38e3683d9cb52c2f181d65ba513554a5e1387f20 /bin/git-remove-origin-branches | |
parent | Initial commit. (diff) | |
download | progress-linux-tools-453cc058d9ee6d7cb47529d99061216e72149a5f.tar.xz progress-linux-tools-453cc058d9ee6d7cb47529d99061216e72149a5f.zip |
Adding bin.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | bin/git-remove-origin-branches | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/git-remove-origin-branches b/bin/git-remove-origin-branches new file mode 100755 index 0000000..f65f037 --- /dev/null +++ b/bin/git-remove-origin-branches @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +BRANCHES="${@}" + +for BRANCH in ${BRANCHES} +do + git push origin :${BRANCH} +done |