Possible Duplicate:
Always use version from merged branch on conflicts
I have a git repository which has two branches: master and upstream. The upstream is set to a remote github repository. We've issued these commands to grab changes from upstream and merge with our master branch:
git checkout upstream
git pull
git checkout master
git merge upstream
It keeps giving merge conflict errors. What I'd like it to do is for any files that have conflicts, overwrite the master file with the one from upstream.
Can anyone give me some guidance on how to fix this? We're basically trying to get the latest code from the upstream repository and merge it into our own code.
Thanks!