My company is adopting a VDI architecture ,to enhance the code security we want to use pre-commit hooks,what i really need to do is automate the whole process in a way that all the reposetories have this git hooks ,and the developper has to do nothing but cloning the project ,work in it and commit
so i tried to work with gitlab pipeline but m still encountering the following problems :
_ the dev still have to manually run the pre-cimmit install command so as to create the pre-commit file in .git/hooks
- i have to put some restrections on some files in a way tha developpers can’t modify them for example(.pre-commit-config.yaml)
New contributor
user26661143 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1