Category "git-submodules"

Recursively clone submodules from GitHub using an access token

I have an umbrella repo containing a number of submodules. I am using git clone --recurse-submodules --remote-submodules https://<access_token>@github.com

Why does Gitlab CI fail to get git submodule but on subsequent push checks out the submodule?

My project consists of a parent project and a child project. The child project is included in the parent project as a submodule. I am using Gitlab CI. Below is

New git submodule missing everytime I checkout my repo/branch

Whenever I clone my repo (<my_repo>) locally, the new submodule's directory (under <my_repo>/_includes/<NEW_submodule_2>) is empty. I have add

Using GitHub Actions to automatically update the repo's submodules

Title says it all. I tried using a bunch of different git commands like git submodule update --remote --merge and git submodule foreach git pull origin master w

How to sharing code between two projects on Azure Databricks

I have two ML projects on Azure Databricks that work almost the same except that they are for different clients. Essentially I want to use some management syste

Git submodule codecommit

I have two repositories in AWS Codecommit and I want to add the one repo as submodule into the other repositories. The two repos are located in a role, not in t

What is the point of 'git submodule init'?

Background To populate a repository's submodules, one typically invokes: git submodule init git submodule update In this usage, git submodule init seems to

TF401019: The Git repository with name or identifier public does not exist or you do not have permissions for the operation you are attempting

I have two ADO repositories named private2 and public2. private2 references public2 as a submodule: I also added a yaml file (vsts-cicd.yml) for build as follo

How to clone public submodule in "Github Actions"

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 wo

git submodule foreach checkout supermodule branch

Consider a git repository Foo/, which has submodules bar1/ and bar2/. Each of these has the same branches: 1 & 2. I enter the supermodule, and I want to

What does "--remote" actually do in "git submodule update --remote"?

I just do not understand the help page of Git. So what does happen or what is the difference? Assume I have a Git project A with a submodule B. Submodule B doe

Differences between git submodule and subtree

What are the conceptual differences between using git submodule and subtree? What are the typical scenarios for each?

Git update submodules recursively

My project struture ProjectA -FrameworkA (submodule) --Twig (submodule of FrameworkA) How I can update submodules recursively? I already tried some git comma

Git Submodule - Permission Denied

I am not able to clone the submodule existing within my private git repository. I do have access to entire repository, Have used the below commands but dint w

How to handle folder of git submodule which is marked as "untracked" in the host repo?

I've got a code base in which I want to add another repo as a submodule to do some integration testing. So following a tutorial I ran git submodule add -b maste

No submodule mapping found in .gitmodule for a path that's not a submodule

I have a project that has a submodule at lib/three20 My .gitmodule file looks like this: [submodule "lib/three20"] path = lib/three20 url = git://gith