subdirectories (empty ones) are not pushed to git repo
This question already has an answer here:
Git does not track directories explicitly, but only tracks files. It therefore cannot track empty directories.
You could create a dummy file in the empty directories you wish to push. Add that file to your repo and the directories will come along for the ride...
链接地址: http://www.djcxy.com/p/7872.html上一篇: 有没有办法检查空目录?
下一篇: 子目录(空的)不会被推到git仓库