Git-svn W: -empty_dir warnings. What do they mean?

后端 未结 3 468
暗喜
暗喜 2021-02-01 02:31

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

3条回答
  •  独厮守ぢ
    2021-02-01 03:01

    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.

提交回复
热议问题