always merge on a 'throw away branch'
For example, here we wanted git to merge master to development branch to prevent us from making our master branch dirty.
So its always good to resolve conflict on a throw away branch before merging back to master.
(on branch development)$ git merge master
(resolve any merge conflicts if there are any)
git checkout master
git merge development (there won't be any conflicts now)
Comments