how to discard git local branch changes? eg, local branch with version: A->B->C Now I am on version A, and it has some changes conflict with latest version C. I want to discard local changes and pull the latest version C.
$ git pull
I will meet some error. and there are many files, so I don't need to do many times $ git co files
Is there any better way?