What is preferred way to undo add?

Kyle Butt kylebutt at gmail.com
Mon Jun 5 08:43:54 CDT 2006


On Mon, Jun 05, 2006 at 09:23:54AM -0400, Neal Becker wrote:
> If I did add but not yet commit, what is the 'best' way to undo the add?
> 
I believe you want hg forget
then mercurial will undo the add, and not the last transaction (which is
not what you want.

Kyle.


More information about the Mercurial mailing list