Re: What is the idea for bare repositories?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bruno Cesar Ribas
Date: Monday, November 12, 2007 - 6:19 am

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.

From man page
       --bare Make a bare GIT repository. That is, instead of creating
              <directory> and placing the administrative files in
              <directory>/.git, make the <directory> itself the $GIT_DIR. This
              obviously implies the -n because there is nowhere to check out
              the working tree. Also the branch heads at the remote are copied
              directly to corresponding local branch heads, without mapping
              them to refs/remotes/origin/. When this option is used, neither
              remote-tracking branches nor the related configuration variables
              are created.

On Mon, Nov 12, 2007 at 02:11:58PM +0100, David Kastrup wrote:

-- 
Bruno Ribas - ribas@c3sl.ufpr.br
http://web.inf.ufpr.br/ribas
C3SL: http://www.c3sl.ufpr.br 
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What is the idea for bare repositories?, David Kastrup, (Mon Nov 12, 6:11 am)
Re: What is the idea for bare repositories?, Bruno Cesar Ribas, (Mon Nov 12, 6:19 am)
Re: What is the idea for bare repositories?, Johannes Schindelin, (Mon Nov 12, 6:57 am)
Re: What is the idea for bare repositories?, David Tweed, (Mon Nov 12, 7:20 am)
Re: What is the idea for bare repositories?, Jan Wielemaker, (Mon Nov 12, 9:19 am)
Cloning empty repositories, was Re: What is the idea for b ..., Johannes Schindelin, (Mon Nov 12, 9:34 am)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Mon Nov 12, 10:15 am)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Mon Nov 12, 10:30 am)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Mon Nov 12, 10:54 am)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Mon Nov 12, 10:57 am)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Mon Nov 12, 11:06 am)
Re: Cloning empty repositories, was Re: What is the idea f ..., Andreas Ericsson, (Mon Nov 12, 12:17 pm)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Mon Nov 12, 3:17 pm)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Tue Nov 13, 4:19 am)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Tue Nov 13, 4:56 pm)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Wed Nov 14, 1:58 pm)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Wed Nov 14, 5:28 pm)
Re: Cloning empty repositories, was Re: What is the idea f ..., Johannes Schindelin, (Thu Nov 15, 5:44 am)