比较两个不同commit的同个文件

1) 用 "git gl 文件名"查看这个文件提交的commit
2) git diff commitA commitB 文件名

猜你喜欢

转载自jackleechina.iteye.com/blog/2101088