3 thoughts on “Remove a Folder from Git

  1. Actually, in git 1.5.0.4, that seems to remove only the files from that folder and its sub folders. The directory and the sub-directories are all still there.

  2. OK.
    Git doesn’t care about empty directories, and leaves them behind in case you need them, but they are not in the repository.
    So the thing to do is rmdir.

    Odd, after using svn, but apparently by design.

Leave a Reply

Your email address will not be published. Required fields are marked *