aboutsummaryrefslogtreecommitdiff
path: root/development/kForth-64/updater/delete-branches.sh
blob: ab78d273d1b13042c833e4260de3435c8880d11f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

set -e
clear

cd ~/slackware-builds/antonioleal/slackbuilds
git checkout master
echo
for b in `git branch | grep -v "master"`
do
    echo "deleting $b"
    git branch -D $b
    git push origin -d $b
    git fetch --prune
    echo
done