ウェブサイトで gitflow を使用していますが、Git を使用してサードパーティのライブラリをダウンロードしましたが、これをメイン リポジトリに追加できません。しようとすると、次のメッセージが表示されます。
致命的: パス 'FILENAME' はサブモジュール '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
。/。ギット
./.gitignore
gitステータスは次のように述べています:
# On branch develop
nothing to commit (working directory clean)
さらに情報が必要な場合は、お知らせください。
ありがとう