title: Why doesn't git commit -a add new files?
body: <p>I'm a bit new to git, and I fail to understand why <code>git commit -a</code> only stages changed and deleted files but not new files.</p>
  
  <p>Can anyone explain why is it like this, and why there is no other commit flag to enable adding files and committing <a href="https://stackoverflow.com/questions/2419249/git-commit-all-the-files-using-single-cmd">in one command</a>?</p>
  
  <p>BTW, <a href="http://www.selenic.com/mercurial/hg.1.html#commit" rel="noreferrer">hg commit -A</a> adds both new and deleted files to the commit</p>