Is there a git hook that runs on git reset?
I am using a script that runs as
post-merge hook to ensure some permissions on the working copy files.
Neither of these hooks is run on
git reset, so after a
git reset --hard the permissions are lost because apparently the files were created freshly.
Is there a hook that runs on
git reset that I can use to run my permissions script?
One Solution collect form web for “Is there a git hook that runs on git reset?”
No, sorry. 🙁
This is the full list of hooks from the git documentation, and there’s no mention of a reset hook. : https://www.kernel.org/pub/software/scm/git/docs/githooks.html