Issue 113: Git on HTTP Basic Authentication repositories
http://code.google.com/p/msysgit/issues/detail?id=113

Comment #1 by piyokun:
Hello:

First, upgrade to the latest msysgit version "20080622". It will fix the 
"immediately
closes the cmd.exe window" problem.

In [1] there is "Step 3: setup the client", which mentions a curl command line to
check. Please try it. "curl --netrc --location -v
http://<username>@<servername>/my-new-repo.git/HEAD" This should tell you if you have
a _netrc problem or not.

The _netrc can be created as follows when using "Git Bash here":
echo "machine mymachine login myusername password mysecretpassword" > 
$HOME/_netrc

Also please make sure your _netrc file is UNIX line endings (LF only) and there is no
trailing whitespace. The netrc format has the password field at the end and
whitespace, if any, is included in the password.

References:
[1] 
http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt

Best regards,
Clifford Caoile



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to