Automatically set up gitHooks
It would be really helpful that Autosubmit automatically modifies the cloned project git config so the .githooks folder, in case it exists, is set as default githooks directory:
git config core.hooksPath .githooks
.
Githooks are automated triggers, stored in the Git configuration, and because of that they cannot be control versioned. With this approach we would allow projects to include and version their own hooks, useful to do automated tasks after certain git operations.
As explained here: https://earth.bsc.es/gitlab/es/auto-ecearth3/-/issues/1378
Hopefully, it could also be used to move the NEMO clone script ( https://earth.bsc.es/gitlab/svn/nemo-mirror/snippets/55 ) to a githook-based thing.