Use git checkout v3.1.0 to return to this tag location and create an installation package, but how should I go back?
Now use git status to view it, and it shows HEAD detached at v3.1.0. How should I go back to git checkout v3? .What about the status before 1.0?
仅有的幸福2017-05-02 09:28:30
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
伊谢尔伦2017-05-02 09:28:30
Restore the previous version through git log
复制commit
后执行git reset 23edd……
Switch branch executiongit checkout