Git Bash: "fatal: remote end hung up unexpectedly"
I am using a Windows Vista machine with msysgit i开发者_JS百科nstalled and attempting to clone a remote git repository using Git Bash, but I get the error "fatal: remote end hung up unexpectedly". I am able to SSH my company's server and get a listing of repositories, and the server admin has granted me access to the ones I'm trying to clone. The server admin reports that I am not connecting to the server when I run "git clone ". Also, I am not asked for the password on my private key. I have successfully set up projects from the same repository on the same machine before. Any ideas?
It might be worth explicitly adding the ssh protocol specifier:
git clone ssh://git@git.somewhere.com/path/to/project
Check the case in when you specify the repository name. The URLs are case sensitive.
精彩评论