Reputation: 177
I'm trying to follow the Git book guide on setting up Git on a server, but the guide and everywhere I've looked online assumes you're on Linux.. For testing purposes I'm trying to get this to work locally:
git clone myuser@localhost:users/myuser/stuff/thing.git
always comes back with:
Cloning into 'thing'...
fatal: ''users/myuser/stuff/thing.git'' 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've tried various other ways such as:
git clone myuser@localhost:C:/users/myuser/stuff/thing.git
git clone myuser@localhost:stuff/thing.git
And pretty much every variation I can think of, to no success.
Also, if I try to ssh normally with
ssh myuser@localhost
It works completely fine! I've made sure that "myuser" owns the git repository folders as well, so I don't think it's a permission problem. Maybe something I have to configure on git's side as well?
Upvotes: 0
Views: 18