Using rsync with a gitlab copy in multiuser mode

We are three colleagues who would need to jointly customise our IP webserver.

We though of putting the fresh IP install on our gitlab private and push our mods to it before pulling to the web-server.

This failed due to many .gitignore but also because of folder and file permissions which were changed in the process and do not behave after a pull.

Is there a way to collaboratively customise a IP clone so that we can trace our mods and pull to the server when we want to commit changes?

Thanks for advice

Create a git hook for the post-merge event that corrects all permissions. It’s simple bash, no magic.

kind of exotic to me but thanks for the link, I will look into it.

Exotic but very easy to use. You just tell git to execute a bash script after each merge (= pull), that’s it.