git-submodules Questions
1
When I issue a sub-module update and include "--no-fetch" like so:
git submodule update --remote --no-fetch
The documentation states:
In order to ensure a current tracking branch state, updat...
Nightmare asked 24/3, 2015 at 22:53
8
I've created a git repository with a submodule in it. I'm able to tell the submodule itself to change its remote repository path, but I'm not sure how to tell the parent repository how to change th...
Alcove asked 27/5, 2009 at 2:35
4
Solved
I love git submodules. Also, I hate git submodules. What I love about them is how it enables to you to cleanly compartmentalize dependencies etc. I get the point of having them point to a specific ...
Deka asked 4/5, 2012 at 6:15
2
Solved
I learned that to download submodules with main repository we can use --recursive option when cloning main repository.
I did the same git clone --recursive [email protected]:passion/academy....
Characterize asked 22/12, 2015 at 4:22
0
We have a git repository that includes various submodules. There is an old clone of the main repo, on which we reproducibly get the following error when running git fetch:
fatal: remote error: uplo...
Awlwort asked 15/10, 2020 at 9:49
10
Solved
Is it possible to have shallow submodules? I have a superproject with several submodules, each with a long history, so it gets unnecessarily big dragging all that history.
All I have found is this...
Dodecagon asked 27/1, 2010 at 3:34
1
Solved
Operating system: Linux
git version: 2.26.2
Git repo provider of my repo: gitlab
Repo provider of the failing submodules: Github
.gitmodules
[submodule "libraries/stb"]
path = libraries/...
Alixaliza asked 4/10, 2020 at 0:57
4
Solved
How to use git submodules with Bitbucket pipelines?
I'm using Bitbucket pipelines to build my project and I'm having issues pulling in my submodule, I'm probably not configuring the SSH keys corre...
Zakaria asked 2/11, 2018 at 15:58
8
Solved
I have a submodule in my git repository and my directory structure is like,
app
-- folder1
-- folder2
-- submodule @5855
I have deployed my code on AWS by using autodeploy service.
Now, on se...
Copenhaver asked 10/3, 2017 at 7:20
2
The Team Services documentation (https://www.visualstudio.com/en-us/docs/build/define/repository#what-kinds-of-submodules-can-i-check-out) points out that I can do a $ git add submodule if
it is ...
Angelika asked 4/8, 2016 at 9:50
1
Solved
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 the root account
.gitmodules (File in ...
Alliterative asked 20/8, 2020 at 14:50
4
Solved
I have a submodule which I changed some local files. The original repository has been modified and I now wish to do a pull on the submodule, but I get an error saying that I will lose my changes.
...
Subdue asked 6/1, 2013 at 12:14
2
Solved
I have a git repo with a single submodule sub/x. (This submodule does not contain any submodules of its own.)
In the superproject's repo, the output of git status shows the following (unstaged) mod...
Sori asked 20/9, 2020 at 0:23
3
I have to automate the cloning of a repository and fetching all its submodules. The URLs for the repository submodules are specified at .gitmodules. If I were to go with defaults I would just do
gi...
Consumerism asked 4/5, 2015 at 21:54
1
Everytime when I try to push the files on myflix, the submodules myflixdb01 cant be pushed and when I try to push it from github desktop,I get an error"commit failed-exit code 1 received.enter imag...
Brittney asked 6/2, 2020 at 0:41
0
I try to write a post-receive hook to build a static webpage, but the git submodule update --init command fails. The script runs successfully when not run by the hook.
OUTPUT=$HOME/post_receive_ou...
Minify asked 28/8, 2020 at 16:0
2
I have a self hosted agent and have a git repository with submodules. URLs in .gitmodules are http://
When I try to initialize a job it fails to update submodules.
git submodule sync
git submodul...
Dann asked 16/6, 2020 at 4:13
2
I am deploying my app using AWS Amplify. I decided to separate my a part of my app into a submodule. Now, when I build run git submodule update --init --recursive in the build of Amplify, it gives ...
Caramel asked 20/5, 2019 at 10:29
4
Solved
I have a git repo with a git submodule inside of it. The submodule is hosted on bitbucket. I want to update my local copy of the submodule to its latest commit. I tired "git submodule update" howev...
Ossian asked 12/12, 2012 at 17:10
1
I have a Web application which has dependency on an external module for JSON schema validation. The Web app has its Git repository, within which the module is included as a Git submodule.
On the W...
Marris asked 11/7, 2016 at 7:12
2
Let's say I have a parent repo myproject, and a separate repo called submodule, with the directory structure that's the following:
root$ find . -not -path *.git*
.
./myproject
./myproject/su...
Equator asked 6/2, 2012 at 21:1
2
Solved
I have a Python project with the following structure (irrelevant source files omitted for simplicity):
myproject/
mysubmodule/
setup.py
setup.py
The file myproject/setup.py uses distutils.cor...
Needlefish asked 23/1, 2015 at 16:2
2
Solved
There are a lot of articles and SO questions about sparse-checkout. Unfortunately I did not find concrete examples. I would like to get this following example work:
Create a submodule
cd ~
mkdir ...
Kellda asked 15/8, 2017 at 7:19
2
Solved
Question:
Is there a way to automatically checkout git submodules via the same method (ssh or https) as the main repository?
Background:
We have a non-public gitlab repository (main) that has a s...
Eyra asked 28/11, 2016 at 10:21
5
Solved
I'm having an issue with creating a submodule in my project. If I create the submodule directly in the repository root, everything works fine. If the submodule is any deeper, the repository does no...
Ky asked 19/12, 2012 at 1:15
© 2022 - 2024 — McMap. All rights reserved.