checkout to remote branch which is fetched locally

This question already has an answer here:

  • How do I check out a remote Git branch? 21 answers

  • I believe you need to clone your remote branches locally if you want to make changes in the remote. When you checkout a remote branch by issuing git checkout remotes/origin/develop , you will go into a detached HEAD state, which essentially means you are not on any branch right then.

    链接地址: http://www.djcxy.com/p/3826.html

    上一篇: 如何在基于远程分支的git中创建分支

    下一篇: 结帐到本地获取的远程分支