diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-12-10 14:35:07 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-10 14:35:07 -0800 |
commit | 03194a1afa0d8dbcf3e556aa51cf9118f38efb2e (patch) | |
tree | ca5a1235d16a23c0ee06cca09845ff4abe2acf6d /Documentation | |
parent | Merge branch 'jk/strbuf-addftime-seconds-since-epoch' (diff) | |
parent | var: add GIT_DEFAULT_BRANCH variable (diff) | |
download | tgif-03194a1afa0d8dbcf3e556aa51cf9118f38efb2e.tar.xz |
Merge branch 'tw/var-default-branch'
"git var GIT_DEFAULT_BRANCH" is a way to see what name is used for
the newly created branch if "git init" is run.
* tw/var-default-branch:
var: add GIT_DEFAULT_BRANCH variable
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-var.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-var.txt b/Documentation/git-var.txt index 6072f936ab..387cc1b914 100644 --- a/Documentation/git-var.txt +++ b/Documentation/git-var.txt @@ -59,6 +59,9 @@ ifdef::git-default-pager[] The build you are using chose '{git-default-pager}' as the default. endif::git-default-pager[] +GIT_DEFAULT_BRANCH:: + The name of the first branch created in newly initialized repositories. + SEE ALSO -------- linkgit:git-commit-tree[1] |