lamer basic question reverting add
Mads Kiilerich
mads at kiilerich.com
Fri Nov 15 15:45:24 CST 2013
On 11/15/2013 03:28 PM, Harry Putnam wrote:
> I've added some files but never committed the add.
> However I did commit a few other things individually, by name.
>
> Now I want to backout the adds. Reading the man page it appears
> `revert' is the tool to use
...
> How can I undo the adds?
$ hg help add
hg add [OPTION]... [FILE]...
add the specified files on the next commit
Schedule files to be version controlled and added to the repository.
The files will be added to the repository at the next commit. To
undo an
add before that, see "hg forget".
... or are you using a very old Mercurial version that predates the
'forget' command?
/Mads
More information about the Mercurial
mailing list