Github/compare: How to diff two different files (different file names, both in HEAD)? -
can use github /compare
display difference between 2 different source files in head?
here how on command line git diff
:
git diff head:docs/tutorial/01-boxed-function-pointers.cpp head:docs/tutorial/02-raw-actors.cpp
my best guess @ github syntax following. doesn't work:
i want on-line pretty-printed html render of diff.
if can't done github, can recommend third-party website render diffs of 2 arbitrary files hosted on github?
edit #1:
thanks answers recommended https://www.diffchecker.com. however, need able specify source files current head on github. third-party tool need automatically pull latest source files github repo urls. notice http://www.mergely.com can import source urls. looking live view uses latest head.
thank you.
i have been using third party online diff tool long time, if like, can use well. https://www.diffchecker.com. seems should manually paste 2 files onto it.
Comments
Post a Comment