git笔记

tag

git tag //list tag
git checkout tags/<tag_name> -b <branch_name> // Switched to a new branch with tagname

Discard unstaged file

git checkout -- .

评论

暂无评论