記錄寫程式的發現。 使用 python, C#, VB, java, javascript, 也會研究 html, xml, web service。
# 假設你已經從 A 站 clone 下來,這時 origin 指向 A 站
git remote rename origin upstream
# 新增 B 站的遠端儲存庫
git remote add origin [B 站的 Repository URL]
# 之後你就可以 push 到 B 站了
git push -u origin main
# 如果需要,也可以從 A 站拉取更新
git pull upstream main
沒有留言:
張貼留言