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 -- .

yzd
2 声望2 粉丝