summaryrefslogtreecommitdiffstats
path: root/gitrepository-layout.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-13 23:06:12 +0900
committerJunio C Hamano <gitster@pobox.com>2018-11-13 23:06:12 +0900
commit06ce83b0f83d238e1676b4adb708f142ab2f9cab (patch)
treefd8a17fa9e44c0cd9998a5dd175c09acad027425 /gitrepository-layout.txt
parent46fbbcbae6430ff14f0d5ef0e6e9fea90d4fe808 (diff)
downloadgit-htmldocs-06ce83b0f83d238e1676b4adb708f142ab2f9cab.tar.gz
Autogenerated HTML docs for v2.19.1-1052-gd166e
Diffstat (limited to 'gitrepository-layout.txt')
-rw-r--r--gitrepository-layout.txt19
1 files changed, 17 insertions, 2 deletions
diff --git a/gitrepository-layout.txt b/gitrepository-layout.txt
index e85148f05..d501af9d7 100644
--- a/gitrepository-layout.txt
+++ b/gitrepository-layout.txt
@@ -95,8 +95,10 @@ refs::
References are stored in subdirectories of this
directory. The 'git prune' command knows to preserve
objects reachable from refs found in this directory and
- its subdirectories. This directory is ignored if $GIT_COMMON_DIR
- is set and "$GIT_COMMON_DIR/refs" will be used instead.
+ its subdirectories.
+ This directory is ignored (except refs/bisect and
+ refs/worktree) if $GIT_COMMON_DIR is set and
+ "$GIT_COMMON_DIR/refs" will be used instead.
refs/heads/`name`::
records tip-of-the-tree commit objects of branch `name`
@@ -143,6 +145,11 @@ config::
if $GIT_COMMON_DIR is set and "$GIT_COMMON_DIR/config" will be
used instead.
+config.worktree::
+ Working directory specific configuration file for the main
+ working directory in multiple working directory setup (see
+ linkgit:git-worktree[1]).
+
branches::
A slightly deprecated way to store shorthands to be used
to specify a URL to 'git fetch', 'git pull' and 'git push'.
@@ -165,6 +172,11 @@ hooks::
each hook. This directory is ignored if $GIT_COMMON_DIR is set
and "$GIT_COMMON_DIR/hooks" will be used instead.
+common::
+ When multiple working trees are used, most of files in
+ $GIT_DIR are per-worktree with a few known exceptions. All
+ files under 'common' however will be shared between all
+ working trees.
index::
The current index file for the repository. It is
@@ -275,6 +287,9 @@ worktrees/<id>/locked::
or manually by `git worktree prune`. The file may contain a string
explaining why the repository is locked.
+worktrees/<id>/config.worktree::
+ Working directory specific configuration file.
+
SEE ALSO
--------
linkgit:git-init[1],