簡體   English   中英

在tig中,有沒有辦法查看所有文件的diff,例如Github pull request

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

在tig中,當顯示差異視圖時,我們只能查看每個提交的差異。 我想要實現的是一種查看所有文件的差異的方法(就像git diff或Github Pull Request差異視圖一樣)。 有沒有辦法做到這一點? 范例圖片: https : //i.imgur.com/evIe71O.png

不知道all files意思。 diff視圖已經是git diff的尋呼機。 如果要增加塊上下文,只需按]或在.tigrc設置它,例如

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM