Can/should I fork my own github repo?

前端 未结 4 1090
迷失自我
迷失自我 2021-01-31 10:21

My github repo is called Programming-iOS-4-Book-Examples, because it\'s the example code from my book \"Programming iOS 4\". Now I\'ve written a new edition of the book, retitle

4条回答
  •  臣服心动
    2021-01-31 11:16

    I know this is old but I faced the same issue recently. What did work for me was the following:

    1. Create a new_repo at github
    2. git clone new_repo
    3. cd new_repo
    4. git remote add upstream old_repo.git
    5. git pull upstream master
    6. git push origin master

    I got all the above from here.

提交回复
热议问题