What is the correct way to handle symlinks in git?
I have the following structure:
Vendors
Module A
Module B
Module C
App
Code
Modules
Core Module 1
Core Module 2
Module A (symlinked to vendors)
Module B (symlinked to vendors)
Module C (symlinked to vendors)
There is a a main App directory which contains all of the core code in the application. Additionally there is a vendor directory that contains modules which get symlinked into the main app directory and therefore integrated.
Importantly, both the vendor directory and the main app directory are both versioned in the same repository.
Therefore, should i let git keep storing the symlinks, or find a way to have it ignore symlinks?