git-submodules Questions
6
Solved
I'm having my first Git Submodule experience.
I have some projects that depend on the same subproject. I keep these projects in sync, so I'm using the "submodule branch" feature (e.g. git submodul...
V asked 12/1, 2014 at 16:57
2
I have git repo where I link some of my dependencies using git submodules inside extern/ dir. Say I have a dependency A as a submodule, located at extern/A. Now A itself has some dependencies as gi...
Ezekielezell asked 24/6, 2019 at 23:30
2
Solved
Every time I push a commit to the submodule I need to update the parent repo to the latest commit in the submodule. Is there any automatic way to do that in the remote?
Every time push a commit in...
Stapes asked 5/6, 2019 at 2:31
5
Solved
I'm new to git, currently looking at porting some large projects from mercurial. We have a root project that just contains the references to all the external projects (submodules in git). I'm tryin...
Beatriz asked 26/5, 2020 at 9:17
5
Solved
I wrote the below script to push all the changes in the workspace, both in the submodules and the superproject. However, it sounds a little odd that, it is this complex to do what I want. Is there ...
Vidette asked 11/7, 2014 at 9:31
3
Solved
I would like to set up a public GitHub repo with submodules. GitHub offers two ways of connecting - https:... & git@... protocols. For the team working on the project, git@... is much easier to...
Seay asked 10/5, 2018 at 23:22
2
My usecase is:
I have a two branches of a repo containing submodules.
I want to set up auto-integrate of these two branches. But whenever there are submodule updates on both branches, my auto integ...
Tyrannicide asked 23/6, 2015 at 5:1
5
Solved
I have a Git media repository where I'm keeping all of my JavaScript and CSS master files and scripts that I'll use on various projects.
If I create a new project that's in its own Git repository...
Allantoid asked 28/11, 2009 at 5:57
3
Solved
I am fairly new to Git and trying my best to find some documentation on this problem to no avail.
Here's my command:
$ git submodule add https://github.com/joliver/EventStore.git externalsource/J...
Lavonia asked 6/4, 2012 at 20:18
2
I'm testing out deploying a Hexo site on GitLab Pages. I'm currently using a theme that someone has posted to GitHub, and thus have a Git submodule in the themes folder of my Hexo project such that...
Dorkus asked 20/6, 2021 at 2:11
3
Solved
I've a project which uses git submodules. In my python file I want to use functions from another python file in the submodule project.
In order to work I had to add the init.py file to all subfold...
Fivepenny asked 20/4, 2015 at 11:44
1
Here's my situation:
We're trying to convert a project we're working on to use submodules. Since we were testing before, the submodules were simply referring to the develop branch. Now I would like...
Duda asked 1/6, 2021 at 20:16
2
For a rails template I'd like to add a submodule of a specific tag to new rails apps. To keep this simple I'd like to avoid going into subdirectories and running git commands there.
git submodule ...
Dobb asked 30/6, 2017 at 22:2
9
Currently I've been stuck on an issue trying to retrieve the submodules of a repository from within Jenkins. My configuration is fine and I can pull repositories without any submodules just fine.
...
Tubman asked 5/8, 2014 at 8:17
2
I have a python project in Pycharm, wherein there is a nested Git submodule. Here is the folder structure:
my-git-repo
git-submodule-repo
package1
foo.py
bar.py
package2
baz.py
.gitmodules
...
Adrianople asked 19/6, 2020 at 4:36
6
Solved
How do I set up a Git project to contains other projects?
eg. I am working on an online mapping app. We developed a GPS tool together with an outfit in SF. We simultaneously developed a Python Geo...
Truthful asked 6/4, 2009 at 8:54
0
Let's say I have a git submodule and I want to to enable sparse-checkout on it. Is it possible to do so and add that file to the repository for other people that clone? The git submodule gets added...
Sigmatism asked 24/2, 2021 at 15:26
4
I've moved a Git repository (containing several submodules) to another directory on the local disk. Any git command produces the error:
fatal: Not a git repository: <absolute path to .git/modul...
Albigenses asked 8/6, 2012 at 18:12
3
Solved
I've been researching git subtree and other alternatives to git submodules. My project has well over 100 submodules and it's very unwieldy to manage them all.
Can anyone recommend a workflow that ...
Orford asked 6/5, 2015 at 18:39
6
Solved
I'm trying to get TravisCI to automatically deploy my Hakyll static site, according to this guide.
Here's how my repo is set up. I have my source branch, which contains my hakyll and markdown file...
Diarist asked 29/6, 2014 at 2:15
2
Solved
I created a project submodule and put it up on Github.
I created another project, supermodule, and then did this:
cd supermodule
git init
mkdir lib
git clone git://github.com/tandu/submodule lib/...
Crept asked 25/4, 2012 at 14:21
2
I have the following project structure:
root-project
|
|-- A
| |
| |-- C
|
|-- B
A and B are submodules of the root-project. C is in turn a submodule
of project A. Suppose I have made chan...
Husky asked 10/4, 2015 at 14:40
2
Solved
Our team has experimented with git submodules for some core CRUD functionality shared by most of our products. We have also successfully used Nuget packages (self-hosted now) for some common ...
Rident asked 13/9, 2012 at 17:46
2
Is there an equivalent command to this that always returns the absolute path?
git rev-parse --git-path hooks
When I'm in a submodule, I get an absolute path, but when I'm in the root repository,...
Limekiln asked 30/6, 2017 at 22:40
7
Solved
I have a git submodule in my main git repo. As I understand it, the main repo stores a SHA value (somewhere...), pointing to the specific commit of the submodule that it is "linked to".
I went in...
Zealotry asked 24/10, 2011 at 22:13
© 2022 - 2024 — McMap. All rights reserved.