ファイルとディレクトリを比較する。 もっと詳しく: https://manned.org/diff。
old_file
をnew_file
にするための変更点を列挙する):diff {{old_file}} {{new_file}}
diff {{-w|--ignore-all-space}} {{old_file}} {{new_file}}
diff {{-y|--side-by-side}} {{old_file}} {{new_file}}
git diff
で使用される):diff {{-u|--unified}} {{old_file}} {{new_file}}
diff {{-r|--recursive}} {{old_directory}} {{new_directory}}
diff {{-r|--recursive}} {{-q|--brief}} {{old_directory}} {{new_directory}}
diff {{-a|--text}} {{-u|--unified}} {{-N|--new-file}} {{old_file}} {{new_file}} > {{diff.patch}}
diff {{-d|--minimal}} --color=always {{old_file}} {{new_file}}