1
hongch 2018-12-10 15:06:58 +08:00 1
git checkout [第二次提交节点]
git diff 这样不就可以看见第二次在第一次的基础上修改了哪些文件? |
2
SingeeKing 2018-12-10 15:38:21 +08:00 2
git-diff - Show changes between commits, commit and working tree, etc
git diff [<options>] <commit> <commit> [--] [<path>...] This is to view the changes between two arbitrary <commit>. --name-status Show only names and status of changed files. See the description of the --diff-filter option on what the status letters mean. 因此用法:git diff --name-status 提交 1 提交 2 |
3
wjfz 2018-12-10 17:38:02 +08:00
checkout 到本地,找到两次提交的日期
git log --author="你想查的用户名" --since=2018-12-05 --before=2018-12-10 --oneline --name-status 感谢楼上提供--name-status 这个参数,看了下 git log 命令也支持这个参数。 |