title: Git commit by local config instead of global
body: <p>my repo config is below</p>
  <pre><code>git config --local --list
  user.name=my
  user.email=my email
  </code></pre>
  <pre><code>git config --global --list
  user.name=other
  user.email=other's email
  </code></pre>
  <p>When I made a commit, it showed other's name and email instead of my name. So, how could I make local config(my config) into default.</p>