Add Github fork to existing repository

后端 未结 3 864
借酒劲吻你
借酒劲吻你 2021-01-01 12:57

I setup an Octopress project following the given instructions (http://octopress.org/docs/setup/) which have you create a Github repository, and create a local repository on

3条回答
  •  别那么骄傲
    2021-01-01 13:24

    Although people tend to think of their repo on Github as the "official" one, remember that's a social distinction and not a technical one. From git's point of view every repo is on equal terms. That means as long as you have pulled every commit into your local repo, you can safely delete the one on Github. Then just fork the Octopress project on github, set it up as a remote on your local repo, and push. Git doesn't care which repo you originally got any given commit from. It "just works."

提交回复
热议问题