How can I configure git, so that node_modules can be versioned locally but ignored when pushing? Is there a possibility?
Why: Different packaging systems (e.g. npm/yarn/..) access node_modules
and sometimes some packages get corrupted. We want to monitor, what the tools change exactly. And node_modules should not be pushed onto the development server.