Git clone does not bring master branch

后端 未结 3 1413
灰色年华
灰色年华 2021-01-12 12:30

I have a remote repository http://github.com/fernandezpablo85/Test

This repo has a master branch, but it\'s behind two other branches so when I clone it

3条回答
  •  旧时难觅i
    2021-01-12 12:53

    We had a similar issue with one of our repositories, though in our case, the github admin panel was showing "master" as the default branch, but checkouts were getting a different branch by default. Changing the default to one of the other branches, then back to "master" fixed our problem.

提交回复
热议问题