0

So, i want to add a time of commit within a specific file IF was modified. The problem is that the file is modified AFTER the commit not before the commit, with the obvious conclusion that pre-commit hook is run after the commit. What do i miss? how can i run a hook before the act of commiting? Thanks!

Adrian Sevcenco
  • 311
  • 1
  • 8

0 Answers0