title: How to set the default author email for every git commit in vscode?
body: <p>In vscode 1.15.0 all my git commits use the wrong author email <strong>@localhost</strong> while the correct committer email address is used (git version 2.11.0 (Apple Git-81) on macOS 10.12.6). My configuration is as follows:</p>
  
  <ol>
  <li>I clone &amp; push the via ssh keys (from and to github)</li>
  <li>Global user.name = Michael Jordan</li>
  <li>Global user.email = michael.jordan@jordan.com</li>
  <li>I even set user.email locally in my cloned repository as well </li>
  <li>My Mac user is <strong>mj</strong> (so my home dir is <em>/Users/mj</em>)</li>
  </ol>
  
  <p>After committing my changes via vscode I execute <code>git log --format=full</code> with the following result:</p>
  
  <pre><code>commit &lt;my git commit hash here&gt;
  Author: Michael Jordan &lt;mj@localhost&gt;
  Commit: Michael Jordan &lt;michael.jordan@jordan.com&gt;
  
      This is my dummy commit message
  </code></pre>
  
  <p>This is weird, because in this scenario I'm both the author and committer. However, while the committer name/email is just fine it seems that the author name is correct and the <strong>email is wrong</strong>. For some reason the author email seems to my Mac user "mj" on localhost. On the other side the author name "Michael Jordan" seems to be fetched from the user.name settings of git. </p>
  
  <p>I know I can fix this easily with </p>
  
  <pre><code>git commit --amend --author "Michael Jordan &lt;michael.jordan@jordan.com&gt;"
  </code></pre>
  
  <p>However, it's not really comfortable doing this after every commit via vscode.</p>
  
  <p>How can I fix this once for all commits done via vscode - and for all repositories? It's worth to mention that I don't have such issues if I use Eclipse/egit (I guess it uses the settings from user.name and user.email). </p>
  
  <p>I know that </p>
  
  <pre><code>git commit -m "My commit message" .
  </code></pre>
  
  <p>also uses "Michael Jordan " as the author (same as vscode). What I'm desperately looking for is a config option in vscode. And I want to avoid hooks...</p>
  
  <p>Any idea?</p>
  
  <p><strong>UPDATE 1:</strong></p>
  
  <p>I've tried the same thing on Win 8.1 with the latest git version 2.14.1 and the latest x64 vscode 1.15.0 - and it works just fine there! Here the author is just as expected (So both COmmiter and Author are the same): </p>
  
  <p><code>Michael Jordan &lt;michael.jordan@jordan.com&gt;</code></p>
  
  <p>After that I installed the git version 2.14.1 on my Mac and tried it there. Here it did not work - the author email is wrong. In both cases I cloned the git repo from GitHub - so I really had the clean repo both on Win and Mac. The only difference must be that on the Mac I have configured ssh keys for GitHub, which I don't have on my Win 8.1 machine.</p>