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
赞
踩
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
转载于:https://www.cnblogs.com/or2-/p/4943867.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。