[kwlug-disc] git remote add ...

Ronald Barnes ron at ronaldbarnes.ca
Sun May 15 16:41:49 EDT 2022


Chris Frey wrote on 2022-05-14 23:31:

>> What am I doing wrong?
> 
> Nothing.  It just doesn't work the way you expect.
> 
> Git remotes are things that are managed locally. git-clone will setup
> origin for you automatically from the remote you cloned from, but
> that's it.  Remotes are not shared with the world.  They are your own
> personal list of sites that you interact with for this repository.

Aha, light bulb moment...


> If you regularly clone from one repo and setup remotes to others, 
> then I'd suggest a script in the repo that you can run to quickly
> set them up as part of the your start up process.
That does the trick.


Thanks!

rb




More information about the kwlug-disc mailing list