8 lines
135 B
Bash
Executable File
8 lines
135 B
Bash
Executable File
#!/bin/sh
|
|
|
|
branch=$1
|
|
destiny=$(git default-branch)
|
|
|
|
git checkout $destiny
|
|
git push origin :$branch > /dev/null & git branch -D $branch
|