Categories

Oct 15, 2019 in Git

Q: What is ‘bare repository’ in Git?

1 Answer

Oct 15, 2019
A “bare” repository in Git contains information about the version control and no working files (no tree) and it doesn’t contain the special .git sub-directory. Instead, it contains all the contents of the .git sub-directory directly in the main directory itself, whereas the working directory consists of :

A .git subdirectory with all the Git related revision history of your repository.

A working tree, or checked out copies of your project files.
Click here to read more about GIT
Click here to read more about Insurance

Related questions

Madanswer
Sep 3 in Git
May 14, 2019 in C++
May 14, 2019 in C++
May 21 in Git
...