作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
你好,我正在寻找一种方法将我的子模块添加到我的 github 存储库中,例如
iris
https://github.com/kataras/iris
我试过了
git add *
git add .
然后提交并推送但文件夹保持为空(灰色)
我想添加这些子模块的原因是因为我想在 heroku 上部署我的应用程序。
但是由于子模块没有上传到我的 github 存储库中,我无法部署我的 heroku 应用程序,因为它从我的 github 存储库中丢失了它们。
任何关于如何将这些子模块添加到我的 repo 的想法都将不胜感激。
最佳答案
关于git - 如何将子模块添加到github存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40753505/
我是一名优秀的程序员,十分优秀!