script for daemon distribution of repo

This commit is contained in:
Kieran 2024-10-17 13:14:22 +02:00
parent 89c6ceb0bf
commit 56d8b572a6

View File

@ -0,0 +1,6 @@
cd ..
IPADDR="$(ipconfig getifaddr en0)"
echo "With machine on same local network, run : "
echo "\`git remote set-url origin git://$IPADDR/\`"
echo "\`git pull\`"
git daemon --export-all --base-path="$(pwd)"