Use mulitple github accounts on one computer
bobylito.me
Use mulitple github accounts on one computer
1–5 of 5 posts
Re: Use mulitple github accounts on one computer
#2Re: Use mulitple github accounts on one computer
#3The "git@" part is rendered unnecessary by putting "User git" in the SSH config for that host name.
There's also no rule saying that your SSH names have to be patterned like FQDNs. This is just personal taste, but to me, the ".com" is just extra junk to type. It could be reduced to "bob.github" or "bob-gh" or something similarly short.
While we're at it, the ".git" is optional too. We can reduce this down to something like:
git clone bob-gh:bob/bobsproject
But at the very least, leave the "git@" part off. ~/.ssh/config is already taking care of that part.
Re: Use mulitple github accounts on one computer
#4Re: Use mulitple github accounts on one computer
#5> You should use: git clone git@bob.github.com:bob/bobsproject.git The "git@" part is rendered unnecessary by putting "User git" in the SSH config for that host name. There's also no rule saying that your SSH names have to be patterned like FQDNs. This is just personal taste, but to me, the ".com" is just extra junk to type. It could be reduced to "bob.github" or "bob-gh" or something similarly short. While we're at…