Alrighty then, I can't figure this one out. Overview: machine running debian wheezy. I ssh into this machine with putty from Windows machine, create the directory ~/Code/project, cd into the directory and run: git init; echo "test">test.txt; git add .;git commit -m "added test". I then verify with git status and git log. Everything is Aok. Close putty, pointy clicky thing to directory in windows->Git Bash Here. Type in git clone ssh://user@server:port/Code/project >trace.log 2>&1 . Below is output:
Cloning into 'project'...
fatal: '/Code/project' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have checked the auth.log on the server and it accepts my public key every time. I can ssh into my account from the Git Bash window. I installed msysgit to convert line endings. I don't know where to go from here?