X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-var.txt;h=a5b1a0dbab5e55a1c1fc2b0f8b35e234832808bb;hb=c33d5174d692b1861e0b2f656e51b80b2b00a23c;hp=ebe87d68470d9fca03b85a1d3036fe20308d61f5;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/Documentation/git-var.txt b/Documentation/git-var.txt index ebe87d68..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.html[git-tag] +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