首页 > 代码库 > git diff

git diff

  1. git diff 比较工作区和缓存区之间的差异

  2. git diff HEAD 比较工作区和版本库差异

  3. git diff master 同上

  4. git diff --cached 比较缓存区和版本库差异

  5. git diff --cached HEAD 同上

git diff