title: error syncing with cyanogenmod repo
body: <p>I have followed the instructions <a href="http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_GalaxySMTD&amp;oldid=11199" rel="noreferrer">here</a> to get the cynogenmod source on my system. </p>
  
  <p>i was able to do the build successfully. I didn't do any local source changes. Now when i try to get the latest source using <code>repo sync</code> command, I am getting the following errors</p>
  
  <pre><code>error: Your local changes to the following files would be overwritten by checkout:
      Android.mk
      extendedcommands.c
      flashutils/Android.mk
      flashutils/flashutils.c
      flashutils/flashutils.h
      mounts.c
      mounts.h
      nandroid.c
      roots.c
  Please, commit your changes or stash them before you can switch branches.
  Aborting
  error: Your local changes to the following files would be overwritten by checkout:
      encore.mk
      init.encore.rc
  Please, commit your changes or stash them before you can switch branches.
  Aborting
  &lt;few more errors like this.........&gt;
  error: bootable/recovery/: CyanogenMod/android_bootable_recovery checkout 50822991460cbee65757e9de12b29e39238d6386 
  error: device/bn/encore/: CyanogenMod/android_device_bn_encore checkout f6586ab41f0e3f5acfa16b43f9b17008e9bb0524 
  </code></pre>
  
  <p>I have tried <code>repo forall -c git reset --hard HEAD</code> without success.
  Any suggestions on how i can resolve these errors?</p>