Create a gist now

Instantly share code, notes, and snippets.

anonymous /RunGitDaemon.bat
Created Jul 24, 2012

What would you like to do?
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