I have a Ubuntu 14.04 system with Git installed. I use it as a Git server for some of my code projects. To get my repository I currently have to use the Repository URL ssh://myserver/home/myuser/codeproject.git. Is there any way to change this path to ssh://myserver/codeproject.git?

  • Surely you're not doing this often enough to matter? – ceejayoz Sep 16 '15 at 14:37
  • Why? Is it very difficult to achieve that? I surely could put all my Git projects into the root ("/"), but this wouldn't be very elegant. – Socrates Sep 16 '15 at 14:54
  • Yes, I believe it's difficult to achieve on the SSH driver. You're correct that putting them in the root would be a bad idea. I'm asking why you're typing the repository URL so often it's worth changing for you. – ceejayoz Sep 16 '15 at 15:10

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.