title: How to "rebuild" git repo?
body: <p>I have something strange going on with some of my repos .. Xcode seems to think i have uncommitted changes whereas <code>git status</code> affirms all is well. </p>
  
  <p>What would be the cleanest way to:</p>
  
  <ol>
  <li>Delete existing repo</li>
  <li>Add all project files to new repo</li>
  </ol>
  
  <p>I suppose i can copy all the files into new directory and</p>
  
  <pre><code>1. git init .
  2. git add . 
  3. git commit -a -m "initial commit"
  </code></pre>
  
  <p>But before I do this, i'd like a second opinion.</p>