X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-var.txt;h=a5b1a0dbab5e55a1c1fc2b0f8b35e234832808bb;hb=HEAD;hp=45b100694a869730273db0dbd91129e2aea49416;hpb=d59a6043a8a7aed97c684fb4f14fe5221df1fcaf;p=git.git diff --git a/Documentation/git-var.txt b/Documentation/git-var.txt index 45b10069..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 @@ -43,8 +47,9 @@ Your sysadmin must hate you!:: See Also -------- -link:git-commit-tree.html[git-commit-tree] -link:git-tag-script.html[git-tag-script] +gitlink:git-commit-tree[1] +gitlink:git-tag[1] +gitlink:git-repo-config[1] Author ------ @@ -56,5 +61,5 @@ Documentation by Eric Biederman and the git-list . GIT --- -Part of the link:git.html[git] suite +Part of the gitlink:git[7] suite