Me and a friend are working on a small project hosted on Github. Neither of us are very experienced (clearly).
I submitted a pull request that was successfully merged however, my friend did not update his local repository to include these latest changes.
When my friend next did a push
, he overwrote all of my changes.
How can I retain most (excluding conflicts) of my edits and his?
I tried making a branch based on my last commit, and then merging said branch with the master branch however doing so did not work because because the master branch was said to be "up to date" and now I am lost.