How to ignore directory on git diff --no-index?
问题 I am trying to create a colorized diff between two folders in the same repository (This may be the totally wrong approach). I believe one way of achieving this is through git diff --no-index folder1 folder2 and it will automatically create a patch for you (Cool). However, the diff also includes (as one might expect), all of the .gitignore 'd files as well. folder1 node_modules src/ .gitignore package.json README.md folder2 node_modules src/ .gitignore package.json README.md I would like to