Is there a way to get GitExtensions to run a script each time a user presses the Commit button?
There are some files being created that are not in the repository folder that I would like to include in the repository. I have a script that would copy them to a subfolder in my repository folder and I'd like this to happen before the Commit screen shows up so that the copied files show up in the list of files to be staged.
I'm using Windows, I've tried creating a .git\hooks\pre-commit.bat as well as a GitExtensions scripts menu script on the BeforeCommit event with a local path in my repository and neither seem to run when I press commit.
The ideal solution would be one that I can easily roll out to everyone using the repository, but right now anything that works would be awesome!