script for daemon distribution of repo
This commit is contained in:
parent
89c6ceb0bf
commit
56d8b572a6
6
deployment-scripts/daemon-serve.sh
Executable file
6
deployment-scripts/daemon-serve.sh
Executable 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)"
|
Loading…
Reference in New Issue
Block a user