title: "Unable to obtain your identity" error in Git
body: <p>I set up user.email and user.name successfully, but whenever I try to commit to a repo Git still displays an error saying that it can't recognize my identity. What could be wrong?</p>
  
  <p>This is what <code>git config --list</code> command prints out:</p>
  
  <pre><code>user.name=myname
  user.email=myemail@myemail.com
  core.repositoryformatversion=0
  core.filemode=true
  core.bare=false
  core.logallrefupdates=true
  </code></pre>
  
  <p><strong>Edit:</strong> Error reads <code>Unable to obtain your identity: *** 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 identity only in this repository. fatal: unable to auto-detect email address (got 'root@computername.'(none))</code> </p>
  
  <p><code>cat ~/.gitconfig</code> command outputs this:</p>
  
  <pre><code>[user]
      name = myname
      email = myemail@myemail.com
  </code></pre>
  
  <p><code>cat .git/config</code> outputs this:</p>
  
  <pre><code>[core]
      repositoryformatversion = 0
      filemode = true
      bare = false
      logallrefupdates = true
  [gui]
      wmstate = normal
      geometry = 1855x1026+65+24 262 188
  </code></pre>