aboutsummaryrefslogtreecommitdiffstats
path: root/del_repo.sh
blob: efd3421e59e9e08ed4070405ba2790e8488434b3 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

echo -n "Input repo name to delete (excluding the .git suffix): "
read repo

rm -fvr /srv/git/$repo.git
rm -fvr ~/$repo*
rm -fv /srv/www/repositories/$repo*

bash /srv/www/git-scripts/restart_ui.sh