Default remote for git fetch

后端 未结 4 2092
闹比i
闹比i 2021-02-07 07:22

If I am on a local branch that is not tracking any remote branch and I give the command

git fetch

Given I have several remotes defined

4条回答
  •  臣服心动
    2021-02-07 07:45

    It will fetch of the origin remote. This is the frist remote you performed the GIT clone command on.

提交回复
热议问题