Druudik
Druudik

Reputation: 1015

Show all TODO's of the source code after every commit

I want to show every TODO of my source code after each commit. How can I do that using .git/hooks ?

Upvotes: 1

Views: 63

Answers (1)

phd
phd

Reputation: 94809

In post-commit hook:

 grep -Fr TODO .

Upvotes: 2

Related Questions