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
  • 37,241
  • 25
  • 195
  • 267
Avraam Mavridis
  • 8,698
  • 19
  • 79
  • 133

0 Answers0