Excluding .git Directories When Using diff -r
When comparing two directories with diff -r, you often don’t want to wade through Git’s internal metadata. By excluding .git directories, your diffs stay focused on meaningful changes. Here’s how to do it on Linux, macOS, and BSD with simple




