diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-12-20 13:33:50 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-20 13:33:50 -0800 |
commit | 8c556f838df5e9e4fbfe52d9ad098610973b13bf (patch) | |
tree | 772968c8f8ccab4826fa2328952a843c817803ce /gitrepository-layout.txt | |
parent | 250471115e57233c974e232132a6fc58f8e8be6d (diff) | |
download | git-htmldocs-8c556f838df5e9e4fbfe52d9ad098610973b13bf.tar.gz |
Autogenerated HTML docs for v2.43.0-174-g055bb
Diffstat (limited to 'gitrepository-layout.txt')
-rw-r--r-- | gitrepository-layout.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gitrepository-layout.txt b/gitrepository-layout.txt index 1a2ef4c15..949cd8a31 100644 --- a/gitrepository-layout.txt +++ b/gitrepository-layout.txt @@ -23,7 +23,9 @@ A Git repository comes in two different flavours: *Note*: Also you can have a plain text file `.git` at the root of your working tree, containing `gitdir: <path>` to point at the real -directory that has the repository. This mechanism is often used for +directory that has the repository. +This mechanism is called a 'gitfile' and is usually managed via the +`git submodule` and `git worktree` commands. It is often used for a working tree of a submodule checkout, to allow you in the containing superproject to `git checkout` a branch that does not have the submodule. The `checkout` has to remove the entire |