0

I want to have a hook that will check for linting issues. The problem is that I don't want to check all the files in the project, I want to check only the files that have actually changed.

Lets say I have 3 commits locally that I havent pushed to remote. How can I list (or even better, pipe them to another process)?

Cœur
  • 34,719
  • 24
  • 185
  • 251
Avraam Mavridis
  • 8,288
  • 18
  • 73
  • 125

0 Answers0