 --global user.name &quot;My Name&quot;
git config --global user.email my@email.invalid
</pre></div>

<p>Use &lsquo;<samp>--global</samp>&rsquo; to set the global configuration for all your Git checkouts.
</p>
<p>Git will select the changes to the files for commit. Optionally you can use
the interactive or the patch mode to select hunk by hunk what should be
added to the commit.
</p>

<div class="example">
<pre class="example">git commit
</pre></div>

<p>Git will commit the selected changes to your current 