1. 命令行查看标签
git tag -l
git tag 标签名
2. 撤销已经做的所有修改
git status -s
git checkout --f
3. gitignore不起作用
git rm -r --cached .
git add .
git commit -m 'update .gitignore'
https://www.cnblogs.com/thinkingthigh/p/8007061.html
git tag -l
git tag 标签名
git status -s
git checkout --f
git rm -r --cached .
git add .
git commit -m 'update .gitignore'
https://www.cnblogs.com/thinkingthigh/p/8007061.html