1
chemzqm 2014-10-22 16:16:21 +08:00 1
git diff [options] <commit> <commit> [--] [<path>...]
|
2
no13bus OP git diff HEAD^ HEAD
zsh: no matches found: HEAD^ $ git diff HEAD\^ HEAD 成功. 用的zsh 发现head后面的^需要转意 |
3
yangg 2014-10-22 19:34:02 +08:00
git show # view the diff of last commit
git whatchanged git log --stat --date=relative |
4
spritevan 2014-10-22 20:10:02 +08:00
git log -p path_to_file
|
5
vibbow 2014-10-23 01:35:16 +08:00
sourcetree
|
6
julyclyde 2014-10-23 22:39:55 +08:00
如果pull的时候merge进来很多commit
就不能用HEAD和HEAD~1比较了吧? |