美文网首页
git diff、git diff --cached、git d

git diff、git diff --cached、git d

作者: McDu | 来源:发表于2018-09-26 10:49 被阅读207次
  1. git diff : 对比工作区(未 git add)和暂存区(git add 之后)
  2. git diff --cached: 对比暂存区(git add 之后)和版本库(git commit 之后)
  3. git diff HEAD: 对比工作区(未 git add)和版本库(git commit 之后)

相关文章

网友评论

      本文标题:git diff、git diff --cached、git d

      本文链接:https://www.haomeiwen.com/subject/tprdoftx.html