命令:
gir diff gir diff --staged
1. 查看某个文件修改了哪些内容,后者是查看所有文件都修改了哪些内容(注意:这是查看未追踪的文件的)
git diff 文件名
git difff
2. 查看(已追踪但未提交)的文件修改差异
git diff --staged
标签:文件,git,查看,修改,005,diff From: https://www.cnblogs.com/FBGG/p/17438630.html
命令:
gir diff gir diff --staged
1. 查看某个文件修改了哪些内容,后者是查看所有文件都修改了哪些内容(注意:这是查看未追踪的文件的)
git diff 文件名
git difff
2. 查看(已追踪但未提交)的文件修改差异
git diff --staged
标签:文件,git,查看,修改,005,diff From: https://www.cnblogs.com/FBGG/p/17438630.html