aboutsummaryrefslogtreecommitdiffstats
path: root/del_repo
blob: 5f2f1c3f87fc9c131542d03410983b726270247a (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