I have gitolite installed. I’m able to administer it fine. I’ve added a few new repos, and a few pub keys. Installed as ‘git@domain.com‘ and a repo added for a user as repo.git.
Does it have to be git@domain.com:repo.git to access, or is there a way to indicate the user in the url?
Possibly something like user@domain.com:repo.git or git.domain.com/user/repo.git for example?
No, it has to be
git@domain.combecause the user is always the same: the git account you are using to install and administer gitolite on your server.The actual user is deduced from the public key you are using when making your ssh call.
If you registered that key with the user.pub file representing said public key named after the user’s login, then gitolite will be able to identify you.
For more, see “how gitolite uses ssh“.