title: .gitignore won't ignore the directory
body: <p>I'm trying to ignore the xcuserdata folders that xcode 4 modifies and they keep come back despite being in my .gitignore file.</p>
  
  <p>My .gitignore file as one line:</p>
  
  <pre><code>xcuserdata
  </code></pre>
  
  <p>Yet as soon as I change anything UI in xcode, I get this:</p>
  
  <pre><code>#   modified:   XXXXXXXX.xcodeproj/project.xcworkspace/xcuserdata/XXXX.xcuserdatad/UserInterfaceState.xcuserstate
  </code></pre>
  
  <p>I have done a...</p>
  
  <pre><code>git rm -r --cached XXXXXXXX.xcodeproj/project.xcworkspace/xcuserdata/XXXX.xcuserdatad/UserInterfaceState.xcuserstate
  </code></pre>
  
  <p>...and tried...</p>
  
  <pre><code>git rm -r --cached XXXXXXXX.xcodeproj/project.xcworkspace/xcuserdata
  </code></pre>
  
  <p>...followed by a commit.  I have done this close to 10 times and it just won't go away and be ignored.  It keeps coming back.</p>
  
  <p>What am I doing wrong?  There is clearly something I am not understanding.  The file did get added to the repository when I first created it and now I'm trying to get rid of it.</p>
  
  <p>I just want that file to become completely untracked like it had never been added to the repository.</p>