Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我得到了 git checkout origin/master,我看到它创建了一个没有特定分支的分离 HEAD 状态。但它是否也从 origin/master 获取最新信息?我认为它没有,但看到有人提到这样做的新版本的 git。因此,我想确认。
git checkout pull无论您拥有什么版本的 git,都不会隐含。
git checkout
pull