3 ms·
Nice trick! I'd usually set alias in ~/.ssh/config and set origin to match that alias, e.g. Host project-foo Hostname github.com User git I
by dig1 3y ago
Nice trick! I'd usually set alias in ~/.ssh/config and set origin to match that alias, e.g.
Host project-foo
Hostname github.com
User git
IdentityFile ~/.ssh/some_key
Then I'll pull the project with:
git clone project-foo:/Foo/project.git