I read the following tricks in mercurial site,
https://www.mercurial-scm.org/wiki/TipsAndTricks#Undo_an_.27.60hg_add.60.27 https://www.mercurial-scm.org/wiki/TipsAndTricks#Remove_files_that_are_matched_by_.hgignore_but_were_added_in_error
I have lot of local changes like file that are not tracked, files that are modified, files that are added.
I want to commit only the files that are modified.
Although i can test the following command directly on the command prompt, i want to make sure if it is a good practice and not risky to do,
hg st -mn0 | xargs -0 hg ci -l ~/commit.txt
Please let me know your suggestions.