1 git show

git show 分支名/HEAD/hash值


2 git log参数

--oneline 单行信息
--decorate 输出commit引用信息
--graph 图形化输出
--al 输出所有分支


3 git diff 使用
比较两个commit不同
git diff commit1 commit2

比较具体单词不同

git diff --color-words

git diff --word-diff

相关文章:

  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-11-27
  • 2021-05-06
猜你喜欢
  • 2021-08-22
  • 2021-06-23
  • 2021-11-17
  • 2021-07-31
  • 2021-09-21
  • 2022-12-23
相关资源
相似解决方案