Skip to content

Instantly share code, notes, and snippets.

@yuvalif
Created September 20, 2021 13:09
Show Gist options
  • Select an option

  • Save yuvalif/8b8026201e84d56fe056937dfbd37543 to your computer and use it in GitHub Desktop.

Select an option

Save yuvalif/8b8026201e84d56fe056937dfbd37543 to your computer and use it in GitHub Desktop.
  • install diff2html: npm install -g diff2html-cli
  • for html view of commit run: git --no-pager show <xyz> | diff2html -s side -i stdin -o stdout > <xyz>.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment