我的队友在研究feature1
时在远程更新了他的分支feature2
。
现在我执行$ git remote show origin
时显示-
Local refs configured for 'git push':
feature1 pushes to feature1 (local out of date)
我目前在分支feature2
上签出,并且尝试了下面的所有命令,但feature1
的状态未更改为(up to date)
。 (所有命令执行无任何错误)
$ git fetch origin
$ git fetch --all
$ git fetch origin feature2
为什么会这样?我想念什么?