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