git discard Discard changes in a file (or a list of files) in working tree discard = checkout -- Example: git discard foo goo hoo