Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

ah, right. I do wonder why they do it that way...


HTTPS URLs are inconvenient for private repositories, and username has to be part of SSH URLs that people share when setting up a submodule or linking to a repository.


> username has to be part of SSH URLs

No? Usernames are optional in SSH URLs.


But then it defaults to the users username on device

Which isn't always in sync with their GitHub username. Which might even be "root".


surely anybody using GitHub via ssh knows how to edit their .ssh/config




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: