- August 10, 2018 at 5:57 am #31465Prachi #3
What is ‘bare repository’ in Git?
What is ‘bare repository’ in Git?August 10, 2018 at 6:16 am #31469
A “bare” repository in Git just contains the version control information 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, where as working directory consist of:
A .git subdirectory with all the Git related revision history of your repo.
A working tree, or checked out copies of your project files.
Please Register to reply to this topic. /