Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

git log
查看commit的历史

git show commit_id
查看某次commit的修改内容(会每个改动的文件的改动diff都显示)

git show –name-only commit_id
修改了哪些文件

git show 显示最后一次的文件改变的具体内容
git log -p 查看某个文件的修改历史
git log -p -2查看最近2次的更新内容

git whatchanged 每次修改的文件列表
git whatchanged –stat 每次修改的文件列表, 及文件修改的统计

评论