objective-c - git checkout tagName后怎么回去
淡淡烟草味
淡淡烟草味 2017-05-02 09:26:30
0
2
667

使用git checkout v3.1.0回到这个 tag 位置打了一个安装包,但是应该怎么回去呢?
现在用 git status 查看,显示HEAD detached at v3.1.0,应该怎么回到git checkout v3.1.0之前的状态呢?

淡淡烟草味
淡淡烟草味

reply all(2)
仅有的幸福

git branch can list all branches, and then git checkout master can return to the corresponding branch

git tag can list all tags, and then git checkout v3.0 can cut the corresponding tags

伊谢尔伦
  • Restore the previous version through git log复制commit后执行git reset 23edd……

  • Switch branch executiongit checkout

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template