简体   繁体   中英

In tig, is there a way to view diff for all files like Github pull request

In tig, when showing diff view, we can only view diff per commits. What I want to achieve is a way to view diff for all files (just like git diff or Github Pull Request diff view). Is there a way or a mode to do that? Example image: https://i.imgur.com/evIe71O.png

Don't know what you mean all files . diff view is already a pager for git diff . If you want to increase chunk context, just press ] or set it in .tigrc like

set diff-context = 300 # Number of lines to show around diff changes (diff)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM