I have a a local package dependency with its own git repository and I have a project that depends on that directory. What's the best way of synchronizing the project repository and its local package repository in sync?
One option is to merge the package as a subproject as described here:
How to Migrate Git Projects to Be One Project with Subprojects
However if I make changes to the package dependency I would need to merge that back in. Furthermore, one ends up maintaining two mirrored versions of the package. Is that the best practice in this scenario or is there a better solution?
Alternatively I could have a symbolic link to the package, but I'm not sure what's the best practice when a project has a git sub-repo that is symbolically linked.