How to do git tricks

From openwfm
Revision as of 06:29, 18 January 2019 by Jmandel (talk | contribs) (Jmandel moved page How to git tricks to How to do git tricks)
Jump to navigation Jump to search

Comparing files

From https://stackoverflow.com/questions/8131135/git-how-to-diff-two-different-files-in-different-branches

git diff branch1:full/path/to/foo.txt branch2:full/path/to/foo-another.txt

How to link to such comparison view on github?