在我自己的gitlab库中,我包含了一个来自github的公共第三方子模块。git submodule status向我展示了该子模块指向一个较旧的提交。.现在,我想得到最新的版本。Update Git submodule to latest commit on origin中的建议结果如下 git checkout master
error: pathspec 'master'did not match any file(s) known to <
我(显然)对git很陌生。这是我的设想。我为我的项目设置了一个本地的git存储库(我维护的服务器)。我想创建一个子目录,例如,在我的存储库下创建一个开放源码软件项目。git clone http://my-local-repo/my-project.gitmd oss-project// How do igit clone / fork the oss-project??
谢谢你的帮助