How two organize two projects that have common part of code ?
I have 2 projects that have common part of code, that is being changed from time to time. I use TortoiseGit.
For example
project 1 - master
project 2 - dev-branch.
As I understand when I make changes in dev-branch (changes in specific dev-branch code and in common with master code) and then merge master with dev-branch, master will get also specific dev-branch code.
How do I resolve this situation to get, for master, only master specific changes?
You can even have a git repo inside of a git repo, but you will end up 2 histories. I chose this option myself because I always change my inside git repo as a block since I want to update its unit tests whenever I update that repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With