Ich möchte Code aus den referenzierten Submodulen ziehen. Ich habe versucht git submodule update --init
, die nichts tut..git/config und .gitmodules nicht synchron
Lesen, erkannte ich, dass dies vielleicht sein könnte, weil meine .git/config-Datei nicht festgelegt ist. Mein .git/config enthält nichts über das Submodul.
.git/config:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = ssh://[email protected]:29418/opnfvdocs
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "gerrit"]
url = ssh://[email protected]:29418/opnfvdocs.git
fetch = +refs/heads/*:refs/remotes/gerrit/*
[user]
email = [email protected]
[branch "Testingdoc"]
remote = origin
merge = refs/heads/master
jedoch meine .gitmodule die Verweise auf die Submodule enthält
[submodule "docs/testing/docs/submodules/apex"]
path = docs/testing/docs/submodules/apex
url = https://gerrit.opnfv.org/gerrit/apex
[submodule "docs/testing/docs/submodules/armband"]
path = docs/testing/docs/submodules/armband
url = https://gerrit.opnfv.org/gerrit/armband
Meine Frage ist, wie kann ich bringen diese beiden Dateien synchron dass auf git submodule update --init
, die relevanten Repositories sind hochgezogen?