Created
July 24, 2012 13:20
-
-
Save anonymous/3169875 to your computer and use it in GitHub Desktop.
Run Git Daemon bat for msysGit
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
@echo off | |
rem ------------------------------------------------- | |
rem Run Git Daemon bat for msysGit Ver1.0 | |
rem ------------------------------------------------- | |
rem Git Daemon using port 9418 | |
rem ------------------------------------------------- | |
set gitCommandDrive=C: | |
set gitCommandPath=%gitCommandDrive%\"Program Files (x86)"\Git\bin | |
set gitBaseDrive=D: | |
set gitBasePath=%gitBaseDrive%\Git\repos | |
rem Run Git Daemon | |
%gitCommandPath%\git daemon --verbose --export-all --enable=receive-pack --base-path=%gitBasePath% | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment