git开发问题汇总

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

发布了26 篇原创文章 · 获赞 41 · 访问量 13万+

猜你喜欢

转载自blog.csdn.net/circle2015/article/details/105440626