git 怎么访问某个commit下的文件

2025-05-10 07:36:39
推荐回答(1个)
回答1:

git log 查看commit的历史
git show 查看某次commit的修改内容
git log -p 查看某个文件的修改历史
git log -p -2查看最近2次的更新内容