version control - how to "propertly" not commit changes on mercurial? -


accidentally hg added several binary compiled files project along tons of little changes on several files.

my hg status show have dozen files modified (correctly) , 2 dozen files added (mistake).

how undo that?

most answers here tell me install mq extension or use rollback, manual mq ext says i'm not supposed use , there (slightly more complicated) ways of doing same mq mainline hg -- though fails show how. , rollback shows warnings not being supposed used because deprecated.

so, how remove upcoming commit files added mistake, while keeping modified files want commit?

you can revert files. hg revert fileyouwanttorevert otherfileyouwanttorevert


Comments