title: Cygwin and gitolite 3. How to set it up on windows?
body: <p>I was using <a href="http://therightstuff.de/2010/03/28/How-To-Set-Up-A-Git-Server-On-Windows-Using-Cygwin-And-Gitolite.aspx" rel="nofollow">this</a> guide.</p>
  
  <p>Cygwin installation was good and all went well.<br>
  Gitolite installation, however, is bad and i can't seem to find the solution to what should i do (neither google helps with that, because everybody link to the page i gave a link to, or everybody talk about old versions of gitolite.)</p>
  
  <p>I have reached the step No. 5 of the "Installing Gitolite" part.<br>
  1. I did the part with gitolite cloning ok.<br>
  2. The part with installing gitolite was different, but seems to have gone well. <code>gl-system-install</code> didn't work, so i used <code>gitolite/install -ln</code> as was told by the instructions at <a href="http://gitolite.com/gitolite/qi.html" rel="nofollow">this</a> site.<br>
  3. This is where everything fails. <code>gl-setup</code> doesn't exist anymore, so i used <code>gitolite setup -pk ~/myName.pub</code> command. At this stage it first says <code>Initialized empty Git repository in C:/cygwin64/home/git/repositories/gitolite-admin.git</code>, right after that i get <code>fatal: Could not switch to '/home/git': No such file or directory</code><br>
  It did create the file <code>/home/git/.gitolite.rc</code> and i did what the guide told next to do. However when i execute the command <code>git clone git@gitserver:gitolite-admin.git</code> after exiting server shell, i get the error<br>
  <code>bash: git-upload-pack: command not found<br>
  fatal: could not read from remote repository.</code><br>
  The repository gitolite-admin.git does exist in <code>/home/git/repositories</code></p>
  
  <p>I would really like to know what am i doing wrong here. I'd like to be able to run git with authentication on windows machine.</p>