Questions tagged [git-bare]

A bare git repository is so named because it has no working directory; it only contains files that are normally hidden away in the .git subdirectory. In other words, it maintains the history of a project, and never holds a snapshot of any given version.

From Git Magic, Chapter 3:

A bare repository is so named because it has no working directory; it only contains files that are normally hidden away in the .git subdirectory. In other words, it maintains the history of a project, and never holds a snapshot of any given version.

A bare repository plays a role similar to that of the main server in a centralized version control system: the home of your project. Developers clone your project from it, and push the latest official changes to it. Typically it resides on a server that does little else but disseminate data. Development occurs in the clones, so the home repository can do without a working directory.

Converting:

197 questions
-1
votes
1 answer

TFS + Git newly initialized repository bare?

In order to make a good start using Git with Microsoft TFS after migrating a project from SVN, I want to be sure that the remote/shared repository in TFS + Git is set up as good as possible. I work on the project alone at the moment, but I want the…
TimWoo
  • 1
  • 3
-2
votes
2 answers

Deployment - is it safe to GIT push on a live production

I am currently looking forward to work with a bare git repository in order to deploy on a production server, i have a "post-receive" hook who use git checkout to update the production folder. The application is a PHP Website. In fact i'm wondering…
Fankohr
  • 11
  • 1
1 2 3
13
14