Git tips reloaded: [url "foo"]

  |   Source

I know the "git tips" meme is over, but I found this in git-fetch(1) and, as I find it extremely useful, I'm posting it.

Just add these lines to your ~/.gitconfig:

[url "git+ssh://"]
insteadOf = alioth:

Then, if you need something from collab-maint, just use git clone  alioth:collab-maint/repo.git , easy! :)

P.S.: I did not include my username in the URL because I have it set up in ~/.ssh/config.

Comments powered by Disqus
Contents © 2013 David Paleino - Powered by Nikola