Hi, I have two branches: master and gh-pages. master has one submodule called foo that gh-pages doesn't. When I try to check out gh-pages from master: warning: unable to rmdir foo: Directory not empty And the foo directory exists in my worktree. This is very annoying, and I want to fix it now. Where is this error coming from? How does the worktree get updated when I checkout? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html