Created
May 12, 2015 13:41
-
-
Save willm/4120ba8700b60ea7fca2 to your computer and use it in GitHub Desktop.
serve a local git repo over http
This file contains 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
git update-server-info | |
mv .git/hooks/post-update.sample .git/hooks/post-update | |
python -m SimpleHTTPServer | |
#in another shell | |
git clone http://localhost:8000/.git my-repo | |
cd my repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment