I was handed over a project by a friend. No versioning was used. I needed to make changes so I created a git repository from this project directory with Sourcetree. I use this versioning for local use only. There is no remote. I just like the idea that every change I make is nicely watched and can be reverted any time. I've made many changes.
Now my friend comes up with a new copy of the project. He also made many changes.
What is the best way to merge these changes?
- Do I clone my repository in a separate directory overwrite the project files and push them to my original one?
- Do I simply overwrite my working copy?
- Do I create and checkout a branch and overwrite those files?
(I realize I will always need to manually check every 'change' and decide to include this or not.)