Coloured Git diff to HTML

前端 未结 7 568
盖世英雄少女心
盖世英雄少女心 2020-11-28 19:19

I enjoy using git diff --color-words to clearly see the words that have changed in a file:

\"Screen

相关标签:
7条回答
  • 2020-11-28 19:44

    I have created a perl script to generate html table for the git diff. To use this script first you have to collect the diff by using git diff sha1s... > diff.file, then run diff2html.pl diff.file. Visit:

    http://kernel-demystified.com/forum/index.php/topic,23.msg28.html#new

    0 讨论(0)
提交回复
热议问题