Prompt to add files before commit?
Dr. Arne Babenhauserheide
arne_bab at web.de
Sun Sep 1 11:45:12 UTC 2024
Hello Simon,
> $ hg commit
>
> $ You have untracked files! [(i)gnore / (r)eview / (a)bort]?
This would usually break for me when there are temporary files which
aren’t in .hgignore.
My solution is usually to hg add and then
hg commit --amend
That replaces the commit with one with the files added.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1125 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20240901/a5669919/attachment.asc>
More information about the Mercurial
mailing list