1
chemzqm 2014 年 10 月 22 日 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 日
git show # view the diff of last commit
git whatchanged git log --stat --date=relative |
4
spritevan 2014 年 10 月 22 日
git log -p path_to_file
|
5
vibbow 2014 年 10 月 23 日
sourcetree
|
6
julyclyde 2014 年 10 月 23 日
如果pull的时候merge进来很多commit
就不能用HEAD和HEAD~1比较了吧? |