git create stash without need to configure user.email and user.name (git stash --author ?)
<p><strong>IN SHORT</strong></p>

<p>Is there a possibility to create a stash (using <code>git stash create</code>) <strong>without</strong> the need to configure <code>user.email</code> and <code>user.name</code>? Something similar to the <code>git commit --author</code> option? </p>

<p><strong>SOME CONTEXT:</strong></p>

<p>I have several build machines on which I have a build user. Each has acces to the central git repositories. However I haven't configured <code>user.email</code> and <code>user.name</code> for each of those users; since they never need to make commits.</p>

<p>In one of my scripts I use</p>

<pre><code>git stash create
</code></pre>

<p>(which allows me to use git archive --format-gtz ... I'll spare you the detail; see my <a href="https://stackoverflow.com/questions/23115777/git-archive-with-unstaged-changes">related question</a>)</p>

<p>However this command fails:</p>

<pre><code>*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for &lt;macq@chmalap.macqel&gt;) not allowed
Cannot save the current index state
</code></pre>

<p>PS: I have git 1.8.4</p>