Skip to content

Instantly share code, notes, and snippets.

Created July 24, 2012 13:20
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save anonymous/3169875 to your computer and use it in GitHub Desktop.
Save anonymous/3169875 to your computer and use it in GitHub Desktop.
Run Git Daemon bat for msysGit
@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