Eric W. Biederman | aed022a | 2005-07-14 18:55:09 -0600 | [diff] [blame] | 1 | git-var(1) |
Linus Torvalds | 71931c1 | 2005-07-15 14:57:09 -0700 | [diff] [blame] | 2 | ========== |
Eric W. Biederman | aed022a | 2005-07-14 18:55:09 -0600 | [diff] [blame] | 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | c3f0baa | 2007-01-18 15:53:37 -0800 | [diff] [blame] | 6 | git-var - Show a git logical variable |
Eric W. Biederman | aed022a | 2005-07-14 18:55:09 -0600 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Dmitry V. Levin | bd494fc | 2006-03-06 03:00:48 +0300 | [diff] [blame] | 11 | 'git-var' [ -l | <variable> ] |
Eric W. Biederman | aed022a | 2005-07-14 18:55:09 -0600 | [diff] [blame] | 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
| 15 | Prints a git logical variable. |
| 16 | |
Jonas Fonseca | df8baa4 | 2005-10-03 19:16:30 +0200 | [diff] [blame] | 17 | OPTIONS |
| 18 | ------- |
| 19 | -l:: |
Petr Baudis | 4ee6bc9 | 2006-04-25 00:59:28 +0200 | [diff] [blame] | 20 | Cause the logical variables to be listed. In addition, all the |
| 21 | variables of the git configuration file .git/config are listed |
Petr Baudis | e1cbc46 | 2006-04-25 00:59:30 +0200 | [diff] [blame] | 22 | as well. (However, the configuration variables listing functionality |
Tom Prince | e0d10e1 | 2007-01-28 16:16:53 -0800 | [diff] [blame] | 23 | is deprecated in favor of `git-config -l`.) |
Eric W. Biederman | aed022a | 2005-07-14 18:55:09 -0600 | [diff] [blame] | 24 | |
| 25 | EXAMPLE |
| 26 | -------- |
Jonas Fonseca | df8baa4 | 2005-10-03 19:16:30 +0200 | [diff] [blame] | 27 | $ git-var GIT_AUTHOR_IDENT |
| 28 | Eric W. Biederman <ebiederm@lnxi.com> 1121223278 -0600 |
Eric W. Biederman | aed022a | 2005-07-14 18:55:09 -0600 | [diff] [blame] | 29 | |
| 30 | |
| 31 | VARIABLES |
| 32 | ---------- |
Jonas Fonseca | df8baa4 | 2005-10-03 19:16:30 +0200 | [diff] [blame] | 33 | GIT_AUTHOR_IDENT:: |
Eric W. Biederman | aed022a | 2005-07-14 18:55:09 -0600 | [diff] [blame] | 34 | The author of a piece of code. |
| 35 | |
Jonas Fonseca | df8baa4 | 2005-10-03 19:16:30 +0200 | [diff] [blame] | 36 | GIT_COMMITTER_IDENT:: |
Eric W. Biederman | aed022a | 2005-07-14 18:55:09 -0600 | [diff] [blame] | 37 | The person who put a piece of code into git. |
| 38 | |
| 39 | Diagnostics |
| 40 | ----------- |
| 41 | You don't exist. Go away!:: |
| 42 | The passwd(5) gecos field couldn't be read |
| 43 | Your parents must have hated you!:: |
| 44 | The password(5) gecos field is longer than a giant static buffer. |
| 45 | Your sysadmin must hate you!:: |
| 46 | The password(5) name field is longer than a giant static buffer. |
| 47 | |
| 48 | See Also |
| 49 | -------- |
Sergey Vlasov | a7154e9 | 2005-09-19 14:10:51 +0400 | [diff] [blame] | 50 | gitlink:git-commit-tree[1] |
| 51 | gitlink:git-tag[1] |
Tom Prince | e0d10e1 | 2007-01-28 16:16:53 -0800 | [diff] [blame] | 52 | gitlink:git-config[1] |
Eric W. Biederman | aed022a | 2005-07-14 18:55:09 -0600 | [diff] [blame] | 53 | |
| 54 | Author |
| 55 | ------ |
| 56 | Written by Eric Biederman <ebiederm@xmission.com> |
| 57 | |
| 58 | Documentation |
| 59 | -------------- |
| 60 | Documentation by Eric Biederman and the git-list <git@vger.kernel.org>. |
| 61 | |
| 62 | GIT |
| 63 | --- |
Sergey Vlasov | a7154e9 | 2005-09-19 14:10:51 +0400 | [diff] [blame] | 64 | Part of the gitlink:git[7] suite |