I was wondering if there is any chance to create a hook for git to block changes on certain folders. For example there is a folder A with some files in it and the hook has to check if no files in this folder (or files in sub folders) have changed. If so an error should appear. How can I achieve this?
Thanks!