simon / DIff

Last active 1 month ago

Revision cc61d32afe9e5b0e1a64e9e706d4d00c67ba00c3

diff.md Raw

diff

  • recursive diff between two file trees, ignoring any which don't exist on either side (two methods):

git diff --diff-filter=MR file1 file2

git diff --diff-filter=CMRTXB file1 file2

  • diff local and remote file:

diff foo <(ssh $server 'cat foo')