mirror of https://github.com/einverne/dotfiles.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
164 B
13 lines
164 B
5 years ago
|
#!/bin/sh
|
||
|
#
|
||
|
# Nukes a branch locally and on the origin remote.
|
||
|
#
|
||
|
# $1 - Branch name.
|
||
|
#
|
||
|
# Examples
|
||
|
#
|
||
|
# git nuke add-git-nuke
|
||
|
|
||
|
git branch -D $1
|
||
|
git push origin :$1
|