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