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 -- .
    原文作者:yzd
    原文地址: https://segmentfault.com/a/1190000007305287
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞