6 lines
140 B
Bash
Executable file
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
|