Git Push to Two URL Simultaneously


Headnotes

Many equations and formulas look intimidating. However, when you hunt them down, they are definitely not! Just papertigers!

Now let's hunt the papertiger.
git remote set-url --add --push origin git://original/repo.git
git remote set-url --add --push origin git://another/repo.git

Remove one url from origin

git remote set-url --delete --push origin git://another/repo.git

Remove origin totally

git remote rm origin
git remote set-url origin git://another/repo.git

Footnotes

There are many excellent tutorials out there. Some tutorials are too intuitive and it's helpful, but you cannot get it straight on the math details. Some focused on dymestifying math. Some focused on code. I found the best tutorials that give you the conceptual ideas and are possible for implementation without being blind to the math details. Drop a comment if I failed. It would be really appreciable.


If you want to cite this article, please cite this article as:

Lachlan Chen, "Git Push to Two URL Simultaneously," in EarnFromScratch, 四月 24, 2019, https://www.earnfs.com/zh/html/1922.htm.

or

@misc{lachlanchen2020tutorial,
title=Git Push to Two URL Simultaneously,
author={Chen, Lachlan},
year=四月 24, 2019
}


EarnFromScratch (九月 26, 2020) Git Push to Two URL Simultaneously. Retrieved from https://www.earnfs.com/zh/html/1922.htm.
"Git Push to Two URL Simultaneously." EarnFromScratch - 九月 26, 2020, https://www.earnfs.com/zh/html/1922.htm
EarnFromScratch 四月 24, 2019 Git Push to Two URL Simultaneously., viewed 九月 26, 2020,<https://www.earnfs.com/zh/html/1922.htm>
EarnFromScratch - Git Push to Two URL Simultaneously. [Internet]. [Accessed 九月 26, 2020]. Available from: https://www.earnfs.com/zh/html/1922.htm
"Git Push to Two URL Simultaneously." EarnFromScratch - Accessed 九月 26, 2020. https://www.earnfs.com/zh/html/1922.htm
"Git Push to Two URL Simultaneously." EarnFromScratch [Online]. Available: https://www.earnfs.com/zh/html/1922.htm. [Accessed: 九月 26, 2020]


发表评论