I made changes in my working directory and did a 'git commit'
And then I do a 'git pull'. Git tries to pull changes in the remote tracking branch and automatically merge it for me. But there are some files with conflict.
So How can I just take the version in the remote branch and forget the change I made in a particular file?
I try to do 'git checkout -- chrome/browser/browser.cc', but it said I am in the middle of a merge and it won't let me do it.
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# unmerged: chrome/browser/browser.cc
# unmerged: chrome/renderer/render_view.cc
# unmerged: chrome/test/automation/automation_proxy_uitest.cc
Thank you.