I work with a team of several developers. We develop and maintain many different products which are related to our company. What are some good ways to share code that does common enterprise tasks such as logging, database access, XML handling, etc?
We typically have several different versions of the same or similar classes/libraries...
I have two methods f(vector<int>& x, ....) and g(DBConn& x, ....)
where the (....) parameters are all identical.
The code inside the two methods are completely identical except for one statement
where we do different actions based on the type of x:
in f(): we do x.push_back(i)
in g(): we do x.DeleteRow(i)
What is the simplest way to...
Well, till now, I used common git operations like push, pull, commit and clone.
But now, I need a git repo with different branches to test certain features but all these features require the same library which should be included in the repo.
What's the best pratice to do this?
...