mirror of
https://github.com/tj/git-extras.git
synced 2026-09-12 16:36:22 -04:00
8 lines
158 B
Bash
Executable file
8 lines
158 B
Bash
Executable file
#!/bin/sh
|
|
|
|
branch=$1
|
|
test -z $branch && echo "branch required." 1>&2 && exit 1
|
|
git branch -D $branch
|
|
git branch -d -r origin/$branch
|
|
git push origin :$branch
|