Created
September 11, 2017 05:44
-
-
Save gopinath-langote/c20819bbfef78a3ffc0a3fb349e15812 to your computer and use it in GitHub Desktop.
Git serve patches
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
#!/bin/bash | |
echo "git pull --rebase git://`ipconfig getifaddr en0`/`basename $PWD` `git symbolic-ref --short HEAD`" | |
git daemon --base-path=.. --informative-errors --verbose --export-all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment