This question already has an answer here:
For example, I have multiple projects which shares some common libraries:
At the moment, they are all in one big repository:
However, I think it is better to have one repository for
ProjectB. But how should I manage my common libraries? A common Repository?
The Problem I have with a common repository is: It is out of sync with the specific project repository.
E.g: I want to rollback
ProjectA. Doesn't compile. Now I need to rollback
CommonLib2. Check in.
ProjectB doesn't compile anymore, since it uses methods, which
CommonLib2 has not anymore.
My main problem is: How can I keep the Specific Project and the Common Project in Sync?
At the moment I use TFS VC. If there is no good answer for it, would it be for another VCS (e.g. git)?