-
git log
查看commit记录 -
git log --pretty=format:"%h %s"
查看commit记录并以commit_short_id commit_message
的形式输出 -
git diff <commit_id_1> <commit_id_2>
比较两个commit差异
git log
查看commit记录git log --pretty=format:"%h %s"
查看commit记录并以commit_short_id commit_message
的形式输出git diff <commit_id_1> <commit_id_2>
比较两个commit差异本文标题:git commit历史查看和差异比较
本文链接:https://www.haomeiwen.com/subject/ohjbaqtx.html
网友评论