Discuss / Git / git diff命令详解

git diff命令详解

Topic source

假蛙

#1 Created at ... [Delete] [Delete and Lock User]

比较对象及命令

  • 工作区&暂存区  git diff <file>
  • 工作区&版本库  git diff HEAD <file>
  • 暂存区&版本库  git diff --cached <file>

  • 1

Reply