Re: `git checkout --orpan` leaves a dirty worktree

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

 



Ramkumar Ramachandra <artagnon@xxxxxxxxx> writes:

> BTW, Is there a better way to clean out the worktree than `git rm -rf
> .`, since that fails for submodules?  The impulsive `reset --hard`
> obviously fails because there is no HEAD.

I _think_ the "git rm" is one of the things on Jens's roadmap.  Also
I think "reset --hard" these days does know what to do when you do
not have any history yet.
--
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]