commit 4dfb2f0f5fc9cda1a29a92fc304c67d15e269014 from: Stefan Sperling date: Tue Mar 26 13:16:11 2019 UTC mention bare repos in git-repository(5), not got(1) commit - a3a2b44e8b83e1f4e59def8c5cb0eb693a929493 commit + 4dfb2f0f5fc9cda1a29a92fc304c67d15e269014 blob - 768ec307475f71930b0e7bbfb2a2ae3ba447fd30 blob + 907a0c242111a8862fdfcae01c33cf60552cc7f8 --- got/git-repository.5 +++ got/git-repository.5 @@ -135,6 +135,18 @@ Corresponding on-disk references take precedence over .It Pa refs/ The default directory to store references in. .El +.Pp +A typical Git repository exposes a work tree which allows the user to make +changes to versioned files and create new commits. +When a Git work tree is present, the actual repository data is stored in a +.Pa .git +subfolder of the repository's root directory. +A Git repository without a work tree is known as a +.Dq bare +repository. +.Xr got 1 +does not make use of Git's work tree and treats every repository as if it +was bare. .Sh SEE ALSO .Xr got 1 , .Xr deflate 3 , blob - 11e87be9eefa15a4002cfae256d1777a4a87e3f1 blob + 9538b04b4710bad47462be5278aeea7bd4768ac2 --- got/got.1 +++ got/got.1 @@ -27,9 +27,8 @@ .Op Ar arg ... .Sh DESCRIPTION .Nm -is a version control system which stores the history of tracked files in a -.Dq bare -Git repository, as used by the Git version control system. +is a version control system which stores the history of tracked files +in a Git repository, as used by the Git version control system. This repository format is described in .Xr git-repository 5 . .Pp