Git: Cannot see new remote branch

前端 未结 9 1862
一个人的身影
一个人的身影 2021-01-29 18:55

A colleague pushed a new remote branch to origin/dev/homepage and I cannot see it when I run:

$ git branch -r

I still see preexisting remote br

9条回答
  •  情深已故
    2021-01-29 19:40

    It sounds trivial, but my issue was that I wasn't in the right project. Make sure you are in the project you expect to be in; otherwise, you won't be able to pull down the correct branches.

提交回复
热议问题