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.

  • using submodules in git for the timid
  • How to make a new branch in Visual Studio 2015?
  • Preventing Pull Request in github
  • Need to create Java JAR file and add it to Maven Dependency
  • git: fatal: I don't handle protocol '​​http'
  • How can I use Pik for Ruby in Git Bash on Windows?
  • Is there a hook that runs on git reset that I can use to run my permissions script?

  • ssh: Could not resolve hostname Name or service not known; fatal: The remote end hung up unexpectedly
  • How to search (grep) across all files, in all branches, in all repos in Stash?
  • git extensions single file history only diffs
  • remove .git/index.lock': Permission denied
  • Merge pull request into different branch
  • Why doesn't git recognize that my file has been changed, therefore git add not working
  • 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.