insteadOf vcsh://
Yaroslav Halchenko
lists at onerussian.com
Sat Mar 3 18:36:29 CET 2012
you might also like even more pushInsteadOf, so that you can clone using
read-only git@ protocol but push over ssh (I rely on it more than on fancy
abbreviations insteadOf enables), here are the examples:
[url "git at github.com:"]
pushInsteadOf = git://github.com/
[url "ssh://git.debian.org/git/"]
pushInsteadOf = git://git.debian.org/
pushInsteadOf = ssh://alioth.debian.org
> Hi,
> I just learned (via http://http://git.madduck.net ) about git's insteadOf
> config (man git-config , search "insteadOf") and did:
> export COMMON=my.server.org:git/vcsh/
> git config --global url.${COMMON}.insteadOf vcsh://
> and changed in each vcsh repo the remote url to vcsh://$VCSHREPONAME
> Regards,
> Thomas Koch, http://www.koch.ro
> _______________________________________________
> vcs-home mailing list
> vcs-home at lists.madduck.net
> http://lists.madduck.net/listinfo/vcs-home
--
=------------------------------------------------------------------=
Keep in touch www.onerussian.com
Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic
More information about the vcs-home
mailing list