git diff with file pattern exclusion
git diff <old-commit-hash> <new-commit-hash> ':(exclude)*.mdx' > diff.txt
Example
git diff 0022768e94766161a0c960e216e4afa26e34d66d 53b20cab480e20b4f6cad2e4795d36166eb6bf19 ':(exclude)*.mdx' > diff.txt
Just another Yipp.ca Blogs site
git diff <old-commit-hash> <new-commit-hash> ':(exclude)*.mdx' > diff.txt
git diff 0022768e94766161a0c960e216e4afa26e34d66d 53b20cab480e20b4f6cad2e4795d36166eb6bf19 ':(exclude)*.mdx' > diff.txt
Recent Comments