Created
April 11, 2014 11:35
-
-
Save danielfone/10460681 to your computer and use it in GitHub Desktop.
Git Daemon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source .config | |
# Setup up master repo | |
# git clone --bare $TMP_REPO $MASTER_REPO | |
sudo -u git git daemon \ | |
--verbose \ | |
--enable=receive-pack \ | |
--export-all \ | |
--base-path=$REPO_BASE_PATH | |
# Now on a remote machine we can simply go: | |
# git clone git://192.168.178.85/robotwars-arena |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment