Re: What is the idea for bare repositories?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 12, 2007, 13:57 UTC
- Message-ID
- <Pine.LNX.4.64.0711121355380.4362@racer.site>
- In-Reply-To
- <20071112131927.GA1701@c3sl.ufpr.br>
Hi,
On Mon, 12 Nov 2007, Bruno Cesar Ribas wrote:
> A bare repository is the way to publish your changes to the public. > git-daemon and http-clones use a bare repository that only contains > adminsitrative files.
More to the point, a bare repository is one which does not have a working directory attached.
As such, many commands do not make any sense at all, such as "git add" (_what_ do you want to add? There is not even a working directory to work with!), or "git commit".
Ciao, Dscho