Please register or sign in to comment
The file simply has to be put in the .git/hooks directory, under its current name. A local model must be running (here, phi3 through ollama). An additional advantage is that it take a few minutes, so you really have some time to think about your commit.