Git将一切都推到新的起源 [英] Git push everything to new origin
本文介绍了Git将一切都推到新的起源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我删除了我之前的git origin,并创建了一个新的git origin。我做了git add。和git commit。但它会更新更改,我如何将所有内容都推送到新的来源中。
I deleted my previous git origin, and created a new one. I did git add . and git commit. But it will update changes, how do i push everything into the new origin
推荐答案
git remote add origin <address>
git push origin <branchname>
这篇关于Git将一切都推到新的起源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文