you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 3 days ago

find ... | grep -F -x -v -f .gitignore | xargs ...

(with some minor adjustments needed due to glob patterns in .gitignore)

  • source
  • parent