1
0
Fork 0
Scripts/git-bye-branch.sh
2021-06-30 00:36:37 +02:00

6 lines
140 B
Bash
Executable file

#!/bin/bash
# Delete a branch both locally and on origin.
BRANCH_NAME="$1"
git branch -D $BRANCH_NAME
git push --delete origin $BRANCH_NAME