title: git config environment variables
body: <p>I hope you can answer me today!</p>
  <p>Docs from <code>git help commit</code> says:</p>
  <blockquote>
  <pre><code>COMMIT INFORMATION
    Author and committer information is taken from the following
    environment variables, if set:
  
        GIT_AUTHOR_NAME
        GIT_AUTHOR_EMAIL
        GIT_AUTHOR_DATE
        GIT_COMMITTER_NAME
        GIT_COMMITTER_EMAIL
        GIT_COMMITTER_DATE
  </code></pre>
  </blockquote>
  <p>I set <code>GIT_AUTHOR_NAME</code>, <code>GIT_AUTHOR_EMAIL</code>, <code>GIT_COMMITTER_NAME</code> and <code>GIT_COMMITTER_EMAIL</code> variables by doing these commands:</p>
  <pre><code># export GIT_AUTHOR_NAME=&quot;..&quot;
  # export GIT_AUTHOR_EMAIL=&quot;..&quot;
  # export GIT_COMMITER_NAME=&quot;..&quot;
  # export GIT_COMMITER_EMAIL=&quot;..&quot;
  </code></pre>
  <p>I checked their content with <code>echo</code></p>
  <p>But <code>git commit</code> command still says me:</p>
  <pre><code># git commit
  Author identity unknown
  
  *** Please tell me who you are.
  
  Run
  
    git config --global user.email &quot;you@example.com&quot;
    git config --global user.name &quot;Your Name&quot;
  
  to set your account's default identity.
  Omit --global to set the identity only in this repository.
  
  fatal: unable to auto-detect email address (got 'root@fedora.(none)')
  </code></pre>
  <p><em>I need to do it as root for some reason</em></p>
  <p>Yes, I know that I can simply do that <code>git config ..</code> command, but it's curious to me why I can't tell git this info with these environment variables</p>