zhaobinglong / myBlog

https://zhaobinglong.github.io/myBlog/
MIT License
7 stars 0 forks source link

开发工具之git #69

Open zhaobinglong opened 4 years ago

zhaobinglong commented 4 years ago

git如何diff

参考

https://cjting.me/2017/05/13/how-git-generate-diff/

zhaobinglong commented 4 years ago

回撤操作

zhaobinglong commented 4 years ago

强行忽略本地已被跟踪的文件

git rm -r --cached xxx

如果是文件夹,就是 git rm -r --cached xxx/

zhaobinglong commented 2 years ago

常见错误