What is a “bare git” repository?

Technology CommunityCategory: GitWhat is a “bare git” repository?
VietMX Staff asked 3 years ago
  • It is a repository that is created without a working tree.
  • To initializes the bare repository.
    	```console
    	git init --bare .
    	```
  • It is typically used as a remote repository that is sharing a repository among several different people.
  • It only contains the repository data(refs, commits) and nothing else.