Hi Collin,

> > With these commands, "git clone", submodules, and subcheckouts do the
> > redirections automatically. ...
> 
> The .insteadOf applies for both pushes and pulls right?

Yes. Even with a slow connection (10 KB/sec), this is sufficient for my
daily "git pull" and "git push", that each take less than 30 seconds.

> Basically you run the following:
> 
>     $ git config set --global 
> url.ssh://git.savannah.gnu.org/srv/git/.pushinsteadof 
> https://https.git.savannah.gnu.org/git/
> 
> Then update all of your clones to refer to the mirror.

This can be faster, yes. But I am afraid to lose time when there is a
time delay between the master server and the mirror: in this case,
"git push" even immediately after "git pull" will fail.

Bruno




Reply via email to