git-submodules Questions
1
We are seeing an odd error only on our CI. We have a git repository (let's call it "OUTER") which contains one submodule ("INNER"). If we clone "OUTER" normally on our...
Allisan asked 3/3, 2022 at 0:9
10
Solved
I have a git repo which has another one as a submodule dependency. In the root of my project (where the .git, .gitsubmodules etc. are) I called
git submodule update
This failed with the following ...
Kentkenta asked 23/2, 2017 at 13:36
2
Solved
I am working with git submodules for the first time. Struggling with understanding how to create branches across the board and adding them to all the remote repos.
Currently my file structure res...
Greenfield asked 5/12, 2016 at 22:2
4
Solved
Suppose that I have a submodule dir1/dir2 (created via the steps shown below). How do I restore the submodule dir2 after having deleted it?
git submodule update complains that the submodule does ...
Helpful asked 2/1, 2015 at 19:15
1
We have a repository app-lib that is used as sub-module in 4 other repos and in each I have to add all dependencies for the sub-module.
So if I add/remove a dependency in app-lib I have to adjust a...
Dynamometry asked 6/11, 2019 at 10:25
5
Solved
I have a directory /amp in RepoA and a RepoB (populated with the contents of /amp initially). I want to mirror any changes to the /amp in RepoA into RepoB.
Is it possible ?
P.S: RepoA contains m...
Superdreadnought asked 19/1, 2017 at 7:21
2
We have build an Asp.net core micro-services project and organized the code into one super project and multiple Git submodules (each microservice is a submodule). Now we want to start using the Git...
Doxology asked 9/4, 2019 at 0:57
4
Reason for this Q&A-Style question: It took me a few hours to get this to run because I had some typos and thought the solution is more complicated. If I would have found a tutorial like this o...
Job asked 10/12, 2019 at 16:44
6
I cannot update the git submodule, with the error:
$ git submodule init
Submodule 'build/html' ([email protected]:quadroid/clonejs.git) registered for path 'build/html'
...
$ git submodule up...
Barquentine asked 28/3, 2013 at 4:1
2
I have three branches on my local machine:
master
feature-branch-with-submodule
feature-branch-without-submodule
The branch without submodule used to have a submodule, and I removed the submodu...
Boyne asked 5/6, 2019 at 18:38
1
Solved
I am trying to set my env_file configuration to be relative to each of the multiple docker-compose.yml file locations instead of relative to the first docker-compose.yml.
The documentation (https:/...
Granvillegranvillebarker asked 19/12, 2021 at 19:43
3
Solved
Is there any way to execute a git submodule foreach command in parallel, similarly of how the --jobs 8 parameter works with git submodule update?
For example, one of the projects we work on involv...
Middling asked 24/4, 2018 at 10:27
2
I am using vs-code devcontainer feature to create a containerized development environment of the following setup:
root_folder (main git repository)
|- .git
|- docker-compose.yml
|- @myapi-submodul...
Trombley asked 30/4, 2020 at 20:0
3
Solved
I am sitting on a proxy which only allows http/https traffic only, I am able to clone a repository from Github, but I have to fetch/push using the https URL and username/password.
Now my issues i...
Sycophancy asked 10/7, 2012 at 9:7
13
What are the best practices for un-submoduling a Git submodule, bringing all the code back into the core repository?
Sf asked 18/11, 2009 at 22:23
1
Solved
Ok this one is driving me crazy. I tried committing/pushing/updating a parent repository with a file from its submodule open in another program (a XLS spreadsheet). The operation "succeeded&qu...
Cleveland asked 19/11, 2021 at 18:59
7
Solved
OK. So I thought I had this licked ... but now ....
I have a project which includes one small library from GitHub as a submodule. In the original version of that super-project the submodule is wor...
Scutum asked 30/9, 2011 at 2:49
2
Solved
I want to use the Boost library for my C++ project (more precisely, I'm interested in the Boost Graph Library). I'd like it to be inside my git repository, as a git submodule, as it's done for ever...
Nitroglycerin asked 30/9, 2021 at 16:29
12
I want to add some git submodules.
I've received two projects sharing some common code. The shared code was just copied into the two projects. I created a separate git repo for the common code and ...
Phemia asked 15/10, 2012 at 14:55
3
I have a multi-module Maven project:
root
SubmoduleA
src
pom.xml
SubmoduleB
src
pom.xml
pom.xml
.gitlab-ci.yml
Is there any way I can trigger a CI pipeline only on SubmoduleA when someb...
Kingcup asked 22/9, 2016 at 20:26
5
Solved
This is my .gitmodules:
[submodule "app/code/EthanYehuda/CronjobManager"]
path = app/code/EthanYehuda/CronjobManager
url = https://[email protected]/some_user/ethanyehuda_cronjobmanager.git...
Coit asked 31/1, 2020 at 12:0
2
Solved
Ok, we have a repository with 3 submodules. Now we want to merge this submodules back into main repository, keeping all history (well, using submodules turned out to be more headache than being use...
Lanyard asked 24/1, 2014 at 9:7
2
Solved
I know that when you add a submodule to a git repository it tracks a particular commit of that submodule referenced by its sha1.
I'm trying to find where this sha1 value is stored.
The .gitmodule...
Saltwater asked 17/2, 2011 at 19:12
4
Solved
I have setup my plesk website to automatically pull changes from a remote repository to a certain path of the webserver via post-hooks as described here.
However my repository contains a git submo...
Aniakudo asked 11/11, 2018 at 23:18
9
Solved
Is there a way to automatically have git submodule update (or preferably git submodule update --init called whenever git pull is done?
Looking for a git config setting, or a git alias to help with...
Malposition asked 6/1, 2011 at 3:39
© 2022 - 2024 — McMap. All rights reserved.