I am working on an app with my partner and we are using github to sync our projects, but neither of us have used github before, and I am presented with a problem. My partner and I were synced from the last push, but we then worked on different things separately, and we now need to figure out how to merge our two versions. So, it looks a little like this:
---- B ----|
A --| |--- D
---- C ----|
State A was when the github repository had code that we had in common.
Then, both of us pulled and worked on different parts of the code, creating two distinct states B and C.
Now, we need to combine our two states into D, which has both parts that we have worked on.
State B is pushed, which is the not what I have, but I do know everything from B that I need to have on C before pushing.
Any help is appreciated.