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:

https://github.com/rossbencina/fractorp/compare/head:docs/tutorial/01-boxed-function-pointers.cpp...head:docs/tutorial/02-raw-actors.cpp

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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -