git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Dan Zwell <dzwell@gmail.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: $GIT_DIR usage
Date: Sun, 05 Aug 2007 09:02:08 -0400	[thread overview]
Message-ID: <46B5CA50.3050500@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0708051332230.14781@racer.site>

Johannes Schindelin wrote:
> Hi,
> 
> On Sun, 5 Aug 2007, Dan Zwell wrote:
> 
>> $ export GIT_DIR="`pwd`/.git_public"
>> $ git init
>> warning: templates not found /usr/share//git-core/templates/
>> Initialized empty Git repository in /home/user/temp/.git_public/
> 
> I think that you implicitly created a bare repository with that.  Just 
> check if "git config core.bare" returns true.
> 
> If so, you need to change that in order to have a working tree.
> 
> Hth,
> Dscho
> 
> 

You are exactly right, I accidentally created a bare repository. I can 
do 2 things: I can change core.bare to true, or I can create .git in the 
normal way, then move rename it. Both things still have the problem of 
git not knowing where the working directory is. Is the only way to fix 
this in 1.5.2.4, or is my only option to upgrade?

Thanks,
Dan

  reply	other threads:[~2007-08-05 13:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-05  9:58 $GIT_DIR usage Dan Zwell
2007-08-05 11:55 ` Dmitry Kakurin
2007-08-05 12:22   ` Dan Zwell
2007-08-05 12:33 ` Johannes Schindelin
2007-08-05 13:02   ` Dan Zwell [this message]
2007-08-05 13:41     ` Johannes Schindelin

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46B5CA50.3050500@gmail.com \
    --to=dzwell@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).