Is there a git hook that runs on git reset?

I am using a script that runs as post-checkout and 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.

  • How to find the Sizes of stash repositories
  • Staging again files during pre-commit hook?
  • Git format-patch vs git log -p
  • gitolite disallow access for directory on master branch but not on user branch
  • Git Post Hook to Kick Off Jenkins Job
  • Solving our versioning and build problems
  • Is there a hook that runs on git reset that I can use to run my permissions script?

  • Git: restore my changes which were amended to merge commit
  • Possible to use git project AND see TFS work items in VS2013?
  • Git clone “fatal: I don't handle protocol 'ssh'”
  • How can I set Sourcetree to use ssh paths by default when cloning a remote repo?
  • os x server and remote git repos
  • Missing commits when cloning from bare remote repo
  • 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. :

    Git Baby is a git and github fan, let's start git clone.