git: Because I alway forget

And it takes me 20 minutes to figure it out again. This is how you specify a url to a remote repository to a linux box under a user (git's) home directory, using ssh...

git remote add [name] ssh://git@ipaddress/~git/reponame

I usually name them reponame.git.

That should turn the process into a one minute one in the future :)

blog comments powered by Disqus