creating folders in remote repository using jgit

This question already has an answer here:

  • How can I add an empty directory to a Git repository? 28 answers

  • Git does not support adding empty folders to git. So even though you have added it, it is not going to be in the Git index till you add a file. See associated stack overflow question. How can I add an empty directory to a Git repository?

    链接地址: http://www.djcxy.com/p/7870.html

    上一篇: 子目录(空的)不会被推到git仓库

    下一篇: 使用jgit在远程存储库中创建文件夹