I got a project ("myproject"), managed with git. Inside the project there is another project ("a_node_module"), managed with git, too.
myproject
├── .git
├── .gitignore
└── node_modules
└── a_node_module
└── .git
The .gitignore file contains:
node_modules
Is this okay or can this cause conflicts? (confusing IDE's, for example).
The reason why I want to do it this way is: it saves a lot of time, while the node module is required in the main project, so I can work on both projects together, and don't need to synchronize the sub project all the time.