From: Junio C Hamano <junkio@cox.net>
To: git@vger.kernel.org
Subject: Re: Simple UI question...
Date: Sun, 07 Jan 2007 03:40:41 -0800 [thread overview]
Message-ID: <7vk5zz12va.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <204011cb0701070338i5f8a8b4bw8b39050aeb192edb@mail.gmail.com> (Chris Lee's message of "Sun, 7 Jan 2007 03:38:27 -0800")
"Chris Lee" <clee@kde.org> writes:
> On 1/7/07, Shawn O. Pearce <spearce@spearce.org> wrote:
>> Chris Lee <clee@kde.org> 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
next prev parent reply other threads:[~2007-01-07 11:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-07 11:02 Simple UI question Chris Lee
2007-01-07 11:06 ` Josef "Jeff" Sipek
2007-01-07 11:13 ` Shawn O. Pearce
2007-01-07 11:21 ` Chris Lee
2007-01-07 11:29 ` Shawn O. Pearce
2007-01-07 11:38 ` Chris Lee
2007-01-07 11:40 ` Junio C Hamano [this message]
2007-01-07 11:50 ` Chris Lee
2007-01-07 11:30 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vk5zz12va.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.