git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avery Pennarun <apenwarr@gmail.com>
To: Tim Uckun <timuckun@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: can anybody explain the following to a git noob?
Date: Fri, 22 May 2009 01:02:55 -0400	[thread overview]
Message-ID: <32541b130905212202q9aed54cn892171b7e654812f@mail.gmail.com> (raw)
In-Reply-To: <855e4dcf0905212046o3e1d6ec6l487829a0a411dcaf@mail.gmail.com>

On Thu, May 21, 2009 at 11:46 PM, Tim Uckun <timuckun@gmail.com> wrote:
> A transcript...
>
> git init
> git add . > /dev/nul
> git commit -m 'initial import'

...okay...

> *********Try to rename a directory  WTF?: Git thinks any directory with a
> .git folder is empty and refuses to rename the directory.

Well, why do other folders contain .git directories?  Are they
*separate* git repositories?  If so, git doesn't know what to do with
them and leaves them alone.  (Well, in fact it treats them as
submodules.)

All your other weird problems seem to come from this, as far as I can
tell.  If not, it would be helpful if you could give *complete*
reproduction steps for your problem.

Have fun,

Avery

  reply	other threads:[~2009-05-22  5:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-22  3:46 can anybody explain the following to a git noob? Tim Uckun
2009-05-22  5:02 ` Avery Pennarun [this message]
2009-05-22  5:44   ` Tim Uckun
2009-05-22  9:35     ` Andreas Ericsson
2009-05-22 10:35       ` Tim Uckun
2009-05-22 10:44         ` Johannes Sixt
2009-05-22 11:36           ` Tim Uckun
2009-05-22 12:04             ` Julian Phillips
2009-05-23  8:03               ` Tim Uckun
2009-05-22 12:22             ` Andreas Ericsson
2009-05-22 17:33             ` Daniel Barkalow
2009-05-23  8:21               ` Tim Uckun
2009-05-25 11:10                 ` Heiko Voigt
2009-05-25 12:52                   ` Tim Uckun
2009-05-22 11:03     ` Sitaram Chamarty
2009-05-22 13:36 ` Dan Loewenherz

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=32541b130905212202q9aed54cn892171b7e654812f@mail.gmail.com \
    --to=apenwarr@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=timuckun@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).