Git Error : 'upstream' does not appear to be a git repository

后端 未结 5 1454
感动是毒
感动是毒 2021-01-31 14:06

I\'m very new to Git, so facing some issues with it correct usage. Here is my scenario.

I have a fork of my master repository and cloned it into my local. In that, I hav

5条回答
  •  鱼传尺愫
    2021-01-31 14:21

    The article you link to (though it may have changed since you asked) starts with a reference to https://help.github.com/articles/configuring-a-remote-for-a-fork/. If you complete this you will have a new remote repository named upstream pointing to the original repository which you forked, and git fetch upstream will work.

提交回复
热议问题