# Is there a hook that runs on git reset?

1 messages from 2013-06-22 to 2013-06-22. Participants: André Hänsel.
Thread: https://gitlist.dev/t/34254

## André Hänsel, 2013-06-22 18:52

Subject: Is there a hook that runs on git reset?
Message-ID: <0b6a01ce6f79$b62de4b0$2289ae10$@webkr.de>
URL: https://gitlist.dev/e/0b6a01ce6f79%24b62de4b0%242289ae10%24%40webkr.de

```
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. I
guess I would have expected post-checkout to run.

Is there a hook that runs on git reset that I can use to run my permissions
script?

```
