1. It seems that I cannot create a rebase-apply directory, and
  2. I wonder if you are in the middle of patch application or another
  3. rebase. If that is not the case, please
  4. rm -fr /home/foo/bar/.git/rebase-apply