簡單的步驟讓你可以把Local Repo丟到另一台遠端的Repo
- Create a new repo at github.
- Clone the repo from fedorahosted to your local machine.
- git remote rename origin upstream (將原本的origin repo這個儲存庫更名為upstream)
- git remote add origin URL_TO_GITHUB_REPO (新增新的遠端的repo為origin)
- git push origin master (將變動的檔案push上去)
Now you can work with it just like any other github repo. To pull in patches from upstream, simply run
git pull upstream master && git push origin master
.
沒有留言:
張貼留言
留個話吧:)