While trying to clone an existing Subversion repository using git-svn using standard layout, I got a bunch of W: -empty_dir
(and W: +empty_dir
) warning
One of the things with git is that it does not track directories. It is all about content (files) in git. So empty directories are pretty much left to languish in your local repo. The best way to get rid of empty directories in your local repo is to do git clean -d.
Checkout man git clean for more info.