English 中文(简体)
• 如何将布置的 g盖储存库上载到一个自有的 g储存库?
原标题:How to upload a cloned git repository to an own git repository on github?

我将一个项目从光布上 clo。 现在,我想把它上载到我自己的私人存放处,以从事这项工作。 但衣物存放处的原产地是受磨损项目的价值的关键。 将该项目上载到我自己的私人存放处的最佳做法是什么? I ve Read the german edition of the git documentation ( https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes, but haven t found the Solutions.

最佳回答

指挥

git remote add newrepo NewRepoURL

页: 1 (你可以说出你想要的话)向新劳教指出。 To push/strong> (not upload<>em>)

git push newrepo master
问题回答

在这方面,你可以采取的步骤

git remote -v
git remote remove origin
git remote -v   //to check if it was remove

Go to Github,创建了一个新的存放处。

git remote add origin <the new repository>
git remote -v




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...