hg add - forgetting to add files
Arne Babenhauserheide
arne_bab at web.de
Thu Jun 18 02:48:32 CDT 2009
Am Donnerstag, 18. Juni 2009 04:32:10 schrieb NWalters:
> Is there any safe practice to always add the new files that I've added.
> Why can't mercurial just detect new files on its own?
> I'm in fear that I will add a file and forget to do "hg add" on it - then
> it won't be protected.
Just use
hg commit --addremove --message "commit message"
or the short version:
hg ci -Am "commit message"
Best wishes,
Arne
--- --- --- --- --- --- --- --- ---
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
- Arne (http://draketo.de)
--- --- --- --- --- --- --- --- ---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20090618/c72f5862/attachment.pgp
More information about the Mercurial
mailing list