X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-var.txt;h=813942368b31a9eccb1c06b67e1a4303d3b62ede;hb=451e593181c554b06f1ce292b4233d396a355753;hp=31f80a8b30b29078aeea29bfb52849a056de75ec;hpb=c1067050ce58b5b39f528fe634732da858664603;p=git.git diff --git a/Documentation/git-var.txt b/Documentation/git-var.txt index 31f80a8b3..813942368 100644 --- a/Documentation/git-var.txt +++ b/Documentation/git-var.txt @@ -1,35 +1,39 @@ git-var(1) ========== -v0.1, July 2005 NAME ---- -git-var - Print the git users identity +git-var - Show a git logical variable 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-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-config[1] Author ------ @@ -57,4 +62,3 @@ Documentation by Eric Biederman and the git-list . GIT --- Part of the gitlink:git[7] suite -