X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-var.txt;h=a5b1a0dbab5e55a1c1fc2b0f8b35e234832808bb;hb=HEAD;hp=31f80a8b30b29078aeea29bfb52849a056de75ec;hpb=7fe2fc79358673a909d71e62d3f80ffe0f525fce;p=git.git diff --git a/Documentation/git-var.txt b/Documentation/git-var.txt index 31f80a8b..a5b1a0db 100644 --- a/Documentation/git-var.txt +++ b/Documentation/git-var.txt @@ -1,6 +1,5 @@ git-var(1) ========== -v0.1, July 2005 NAME ---- @@ -9,27 +8,32 @@ git-var - Print the git users identity SYNOPSIS -------- -git-var [ -l | ] +'git-var' [ -l | ] DESCRIPTION ----------- Prints a git logical variable. --l causes the logical variables to be listed. +OPTIONS +------- +-l:: + Cause the logical variables to be listed. In addition, all the + variables of the git configuration file .git/config are listed + as well. (However, the configuration variables listing functionality + is deprecated in favor of `git-repo-config -l`.) EXAMPLE -------- -$git-var GIT_AUTHOR_IDENT - -Eric W. Biederman 1121223278 -0600 + $ git-var GIT_AUTHOR_IDENT + Eric W. Biederman 1121223278 -0600 VARIABLES ---------- -GIT_AUTHOR_IDENT +GIT_AUTHOR_IDENT:: The author of a piece of code. -GIT_COMMITTER_IDENT +GIT_COMMITTER_IDENT:: The person who put a piece of code into git. Diagnostics @@ -45,6 +49,7 @@ See Also -------- gitlink:git-commit-tree[1] gitlink:git-tag[1] +gitlink:git-repo-config[1] Author ------