Re: Simple UI question...

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

 



"Chris Lee" <clee@xxxxxxx> writes:

> On 1/7/07, Shawn O. Pearce <spearce@xxxxxxxxxxx> wrote:
>> Chris Lee <clee@xxxxxxx> wrote:
>> > I assume 'removing everything in the working tree' counts as "local
>> > modifications"? :)
>>
>> Yes!  That's what's going wrong.  Don't do "rm -rf *".  Let Git take
>> care of the empty directories for you.  If Git deletes all source
>> files in that directory (as they don't belong in this version that
>> you are checking out) it will also delete the now empty directory.
>>
>> The only time it fails is if you are on Windows and some process
>> has the directory busy.  :-)
>
> So, if I were starting with an empty working directory, and I had just
> synced over the .git folder from the place where I'm doing the actual
> importing - how would I populate the working directory with a copy of
> the contents of the tree from (say)
> 07058310db903317faa300b93004a5a2e0fc2dcc ?

git reset --hard 070583


-
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]