mirror of
https://github.com/tj/git-extras.git
synced 2026-09-11 07:56:18 -04:00
7 lines
161 B
Bash
Executable file
7 lines
161 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
|