Hello fellow git-users,
how can I solve the following situation:
The repository contains the following directories (with respective files inside):
On the developers machine code is put into the _gen-directories, but that code should not be committed from those machines. As the code the should go into the repositories for these directories will generated and updated through the CI process.
Is there a way to allow the CI machine to commit into these directories while on the developer machines code updated there should just be ignored?
The repository wide .gitignore does not help for.
The .git/info/exclude does not seem to help, as files in the _gen-dirs will get committed on modify/delete, while added files are ignored.
Also a global gitignore does not solve my problem.
Any idea would be appreciated a lot!