Re: "git reset --hard" not cleaning up working copy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 7 May 2007, Johan Herland wrote:

> When I "git reset --hard HEAD" to purge all my non-committed changes, it 
> seems that files I created after the last commit (but not part of the 
> index) are left lying around my working copy. Is this intended?

Bien sur it is intended! Git has no business deleting files it has not 
been told about.

What you probably want is "git clean" after that reset...

Hth,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]