Mercurial (hg) commit only certain files

Posted by bresc on Super User See other posts from Super User or by bresc
Published on 2010-03-09T18:33:45Z Indexed on 2010/04/29 12:07 UTC
Read the original article Hit count: 235

Filed under:
|

Hi I'm trying to commit only certain files with hg. Because of of hg having auto-add whenever I try to commit a change it wants to commit all files. But I don't want that because certain files are not "ready" yet.

There is hg commit -I thefile.foo, but this is only for one file.

The better way for me would be if I can turn off auto-add as in git. Is this possible?

thx

© Super User or respective owner

Related posts about mercurial

Related posts about hg