Re: $GIT_DIR usage
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 5, 2007, 12:33 UTC
- Message-ID
- <Pine.LNX.4.64.0708051332230.14781@racer.site>
- In-Reply-To
- <46B59F63.8020707@gmail.com>
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