Is it possible to run a Git hook after adding a file to a project?
Is it pssobile to run a git hook after adding a file? For example, after running:
git add someFile.php
a script would be triggered.
git help hooks
Will show you all the currently available hooks. As of Git 1.7, there is no hook that's invoked when you add a file, so I'm afraid the answer to your question is "no."