git-submodules Questions
1
Solved
Say I have a project that has a dependency implemented using git submodule. Now I'm making a change where this dependency is no longer needed. I want to commit a change that works as follows:
If a...
Stillness asked 22/5, 2020 at 20:28
2
Solved
Are there any reasons to use a package manager rather than git submodules/subtrees, or vice versa? The git solutions seem to be a lot more hassle than a simple package manager.
Assume that the spac...
Aloisius asked 10/9, 2018 at 11:7
5
I have a Jenkins job that pulls from a BitBucket repo that was working fine, and still is. However, I've added a submodule and Jenkins is choking on that. Here is a clip from the Jenkins console ou...
Uranyl asked 14/6, 2013 at 2:4
8
Solved
I am trying to update the submodules of this git repositary but I keep getting a fatal errors:
[root@iptlock ProdigyView]# git submodule update --recursive
Cloning into core...
Permission denied (...
Erikerika asked 19/11, 2011 at 20:33
1
A lot of questions about automatically update submodules have been asked on
StackOverflow including:
Is there a way to make git pull automatically update submodules?
Easy way to pull latest of a...
Vladikavkaz asked 9/10, 2017 at 10:28
1
Our project uses a git submodule to pin one of our library dependencies.
We regularly rebase the submodule to follow upstream changes, and we also have a set of commits on top of it that we cannot...
Laden asked 7/5, 2020 at 22:0
5
Solved
Any reason why git submodules in Visual Studio 2017 just don't want to checkin? I keep getting
fatal: unexpected sequence in commit output
Seems like sometimes they DO checkin, but most of the ti...
Nomarchy asked 26/4, 2018 at 22:30
2
Solved
I work on a team on a large repo. Recently we decided to move one of the folders into its own submodule
-- aaa
-- .git
-- bbb
-- ccc
-- www # this folder is going into its own repo.
I follow...
Stator asked 15/2, 2012 at 18:25
3
Solved
When switching branches with git checkout I would assume that most of the time you would want to update your submodules.
In what situation do you not want to update submodules after switching?
Wh...
Warfeld asked 14/12, 2009 at 9:5
1
Solved
Hi I have a superproject that contains a submodule. The submodule is tracked by a branch name and not by a sha commit number. On our buildserver I would like to pull as minimum as possible. So I tr...
Beachhead asked 28/4, 2020 at 15:8
2
Solved
I know this question has been asked before, but I found all answers to just give me a quick solution to the problem, or a confusing explanation of why it happens and how it is actually solved.
Thi...
Northerner asked 24/9, 2019 at 21:46
2
Solved
Checking status of submodules in main repository with this command:
git submodule status
produces output (without clear information about branches):
491e03096e2234dab9a9533da714fb6eff5dcaa7 ven...
Unsteady asked 27/1, 2016 at 11:58
2
Solved
I only found answers on how to use git subtrees to split up a repository. However, I explicitly want submodules.
It's a Java maven project. Currently, everything is in one maven project and one re...
Chromatolysis asked 9/12, 2018 at 18:10
2
My python app has a folder structure like this:
my_repo/
src/
main.py
util/ <-- util is a git submodule
src/
torgle.py
test/
test_torgle.py
test/
test_main.py
Inside main.py, I can i...
Diary asked 30/3, 2020 at 21:2
3
Solved
I have several branches with features in my Git repo.
Every feature is some foreign repo, plugged in as a submodule.
What should I do to correct switching between branches, with and without submodu...
Wieche asked 3/12, 2014 at 6:50
2
Solved
In a git repository R I have a submodule that I initialized with the following command:
git submodule add git@mygitserver...
Now a user just cloned R using https and get an error when running
g...
Fourgon asked 12/4, 2016 at 5:57
2
Solved
In my project .git/modules folder got deleted. Now I am able to reset the parent branch to other versions but submodule update is not working.
Error I am receiving:
fatal: Not a git repository: ....
Vivianna asked 2/5, 2016 at 12:2
4
Solved
I'm getting this error after I've removed a submodule. The path in question is not in my .gitignore file, nor is there anything relevant in my .git/info/exclude file. I don't have a .gitignore_glob...
Adaminah asked 2/4, 2013 at 13:52
1
Apparently, adding a subtree of a repository that has submodules will break git submodule init. Here is a script which reproduces the problem:
#!/bin/sh
set -ex
mkdir submod
cd submod
git init
to...
Pease asked 31/7, 2017 at 18:16
2
Solved
I'm trying to remove submodule from my repo. This are the steps I'm using to remove the repo:
Delete the relevant section from the .gitmodules file.
Stage the .gitmodules changes git add .gitmodul...
Parchment asked 4/5, 2017 at 17:20
2
I mirrored https://github.com/boostorg/boost.git to my own repository with command:
git clone --recursive https://github.com/boostorg/boost.git
cd boost
git push --mirror 'URLOfMyOwnRepo'
in ord...
Reunion asked 10/6, 2016 at 20:7
1
Solved
Switching branches (using SourceTree), I get error messages like
fatal: No url found for submodule path '...' in .gitmodules
There is no .gitmodules file in the whole project.
Where should I l...
Neely asked 7/1, 2020 at 17:45
1
When we have many (say 20) submodule in a git repository, we can install (and update) them like so:
git submodules update --init --recursive
Git tries to download every submodule (recursively)...
Cowherb asked 5/3, 2018 at 12:53
2
I'm attempting to include a Git submodule as a subproject to my primary Gradle project, but Gradle refuses to validate the build script on the grounds that the both my project and the subproject re...
Ruvolo asked 6/9, 2019 at 4:7
2
Solved
We have a number of Git repositories, some containing our own code and some containing slightly modified third-party library code. A simplified dependency graph looks like this:
executable_A
| |...
Beira asked 23/3, 2017 at 14:6
© 2022 - 2024 — McMap. All rights reserved.