[kwlug-disc] git remote add ...
Ronald Barnes
ron at ronaldbarnes.ca
Sat May 14 19:09:02 EDT 2022
Hi,
I have some local git repos that I wish to keep as "origin".
However, I also have copies of these repos on GitHub.
When I clone a repo, I can run:
git add remote github git at github.com...
and then I can git push to origin and / or to github.
Problem is, when I later re-clone from origin, my secondary remote info
is lost.
What am I doing wrong?
I suspect I need --mirror? My attempts with that have failed me.
Thanks,
rb
More information about the kwlug-disc
mailing list