I've found similar question here: TFS /Source Control: How to manage hotfixes But the answer doesn't suit me.
So the problem is that:
- I have an application created by company "A".
- I put it on TFS
- Then I have to do some changes in code (branding, change some functionality etc).
- I release my version.
- Now company "A" says: "Hey, there are some bugs. We have fixed them. You can download the codes now".
- So I download the codes.
And what next? I need to have my changes and hotfixes. So I did:
- Make branch out of Main and called it "hotfix"
- Checkout the whole hotfix branch
- Paste codes from company "A" into my hotfix branch folder on my harddrive.
- Check-in whole hotfix branch
- Merge hotfix branch with main branch.
As the result I got only new codes from company "A". All my changes are missing.
So how should I do it properly?