how to drop modification for a file in git code example Example: git remove added file to commint git reset file-name