我在我的网站上使用 gitflow,但是我使用 Git 下载了一个 3rd 方库,我无法将它添加到我的主存储库中。如果我尝试,我会收到以下消息:
致命:路径“文件名”在子模块“SUBMODULE_NAME”中
如果我跑步,cat .git/config
我会得到:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[gitflow "branch"]
master = master
develop = develop
[gitflow "prefix"]
feature = feature/
release = release/
hotfix = hotfix/
support = support/
versiontag =
[remote "origin"]
url = git@github.xxxx/xxxx.git
fetch = +refs/heads/*:refs/remotes/origin/*`
如果我做find . -name ".git*"
./libs/3RD_PARTY_NAME/.git
./libs/3RD_PARTY_NAME/.gitignore
./.git
./.gitignore
git status 说:
# On branch develop
nothing to commit (working directory clean)
如果您需要更多信息,请告诉我。
谢谢