Github显示了拉取请求中分支上所有提交的组合差异。例如this pull request有三个提交,Github显示所有这三个提交的组合差异。
在git本身,我可以执行git diff HEAD~<n>
之类的操作来查看n
提交的组合差异。
我如何在tig中做同样的事情?
答案 0 :(得分:1)
关注“How do I use tig to view the diff for a file which is changed but not commited?”,现在可能的解决方法是:
git diff HEAD~<n> | tig
tig manual only mentions diff options,但不允许除了之前的提交之外的任何其他内容。