I have a git issue I need suggestions to.
I'm not a git pro, just decent I'd say, and this is nerve wrecking.
Let's say there's this big project the company is working on and my team is developing a feature so we create a new branch from the master and work on that one and we call this an epic
just as in Agile. The epic
has hundreds of tasks and we create a new branch for each one of them and then merge it back once it's complete.
By working in the same file, obviously there will be quite a lot of merge conflicts and these are resolved by each programmer and this is how I ended up with a colleague of mine deleting some of my methods while merging his branch back into the epic. Now I want to put my methods back but I can't merge the branch again in the epic
. Here's where my git understanding gives up on me and PhpStorm and GitKraken can't merge the branch back to the epic
because it's already there. And that's true, but there are still some differences between them (AKA my methods are missing... crying)
My question is: What's the procedure in cases like these to bring my methods back?
Also, my colleagues kinda left me alone to deal with this and I can't find anything on Google that's somewhat similar to my situation.
Thanks and cheers!