title: How to use git (git config --global)?
body: <p>The <a href="http://www.pragprog.com/titles/pg_git/pragmatic-guide-to-git" rel="noreferrer">Pragmatic Guide to GIT</a> has the following "Git uses both to calculate the commit ID—a SHA-111 hash—that identifies each commit." in page 21.</p>
  
  <p>And in page 22, I can use the following command to 'Configure Git to know who you are'.</p>
  
  <pre>
  git config --global smcho "Your Name"
  </pre>
  
  <p>When I ran it, I got the following error message. </p>
  
  <pre>
  error: key does not contain a section: smcho
  </pre>
  
  <p>What's wrong with this? I guess it has something to do with SHA-111 hash, but I don't know how to get it to be used with git. </p>
  
  <h2>ADDED</h2>
  
  <p>I thought user.name is to be replaced my name, not a section/parameter structured name. After changing that it works OK. </p>
  
  <pre>
  git config --global user.name "Your Name"
  </pre>