All Questions
Tagged with gitpython git-submodules
3 questions
1
vote
0
answers
64
views
Removing a git submodule without a path
I somehow have a git submodule without a path, which I would like to remove.
Looking into the submodules of my codebase, there is some weird config:
[submodule "a/path"]
path = a/path
...
1
vote
1
answer
704
views
How to use variables of git submodule foreach in gitpython
Using gitpython, I would like to use repo.git.submodule('foreach', …) and get the variables available such as name, sm_path, displaypath, sha1 and toplevel as defined in the git documentation.
I ...
12
votes
1
answer
4k
views
GitPython: how to commit updated submodule
I have been at this for hours now, and although I have a feeling I'm close I can't seem to figure this out.
I'm trying to make a script that takes a git repository, updates a submodule in that ...