首页 > 其他 > 详细

[daily] 使用左右对比查看diff 格式的文件

时间:2018-04-18 15:07:56      阅读:197      评论:0      收藏:0      [点我收藏+]

 

如题:

 

Given your references to Vim in the question, Im not sure if this is the answer you want :) but Emacs can do this. 
Open the file containing the diff, make sure that you
re in diff-mode (if the file is named foo.diff or foo.patch
this happens automatically; otherwise type M-x diff-mode RET), go to the hunk you are interested in and hit C-c C-b
for refine-hunk. Or step through the file one hunk at a time with M-n; that will do the refining automatically.

https://stackoverflow.com/questions/3231759/how-can-i-visualize-per-character-differences-in-a-unified-diff-file

 

emacs生疏了,不会用。暂时先不弄了。

 

[daily] 使用左右对比查看diff 格式的文件

原文:https://www.cnblogs.com/hugetong/p/8874696.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!