Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove all deleted files in next commit with Mercurial

Tags:

mercurial

Let's say I have the current status:

M File1.cs M File2.cs M File3.cs ! File4.cs ! File5.cs ! File6.cs 

How do I bulk remove files 4, 5, 6 (!) from the next commit?

At the moment, I am just removing them manually before committing, like such:

hg remove File4.cs hg remove File5.cs hg remove File6.cs 

But is there a way to remove them all at one go ?

like image 462
Andreas Grech Avatar asked Jul 24 '10 19:07

Andreas Grech


1 Answers

Run hg addremove

like image 112
Ry4an Brase Avatar answered Oct 02 '22 17:10

Ry4an Brase