I committed my code and when I do a git pull
I found some conflicts. How do I solve the conflicts and only get the file version from pulling without my committed changes?
You can hard reset your branch to the commit before your changes, and then cherry pick each of the subsequent commits. This will bring your branch to a state that includes everything except for your changes.