Tech Insights· stackoverflow.com
Want to exclude a directory from git diff? Use git diff old new --name-only | grep -v '/tests/' | xargs git diff old new --. Replace old/new with your branches.
Shared by
- Bash
- Git



