removing the test.sh

This commit is contained in:
DarthMooMancer
2025-11-24 17:54:12 -05:00
parent cb3e33aa67
commit 1a99faae42
-17
View File
@@ -1,17 +0,0 @@
#!/bin/bash
repo="$1"
if [ -z "$repo" ]; then
echo "Usage: set-desc <repo.git> <description>"
exit 1
fi
remote_path="/home/git/hub/$repo.git"
mkdir -p /home/git/hub/$remote_path
cd /home/git/hub/$remote_path
git init --bare
cp '/home/git/hub/dotfiles.git/hooks/post-receive' '/home/git/hub/$remote_path/hooks/' &&
echo "Created git:$remote_path"
/home/git/hub/$repo/hooks/post-receive < /dev/null