git-submodules Questions
2
Solved
https://github.com/Uni-/shBrushesCollection
I created a GitHub repository and made a .gitmodules file directly from GitHub's web source editor. When I then cloned the repo, I noticed the submodule...
Elvieelvin asked 3/7, 2013 at 7:16
3
Solved
I setup some git hooks to run some gulp commands on pre-commit. I basically run jshint/plato. I basically want to bypass these for two cases:
hotfix branches (master / hotfix)
git merge (or find ...
Discounter asked 6/1, 2015 at 14:14
3
The Use Case is that i have to move certain repositories to a new server. So these repositories get a new url.
The Parent project which reference these sub-modules needs to be updated with the new ...
Nyctaginaceous asked 16/8, 2012 at 12:22
2
Solved
I have a GitLab project that utilises GitLab CI.
The project also uses submodules, both the project and it's submodules are under the same GitLab account.
Here is my .gitmodules file
[submodule "...
Tramel asked 17/2, 2018 at 20:8
6
Solved
I'm trying to add a submodule that already existed (different git remote repository). As I didn't searched before how to do it correctly, I think I've messed up my repository and I need some help t...
Semiprofessional asked 31/8, 2012 at 15:29
4
Solved
I have a project of which I am interested in breaking out portions as open-source. I've set up nested git repositories main, one, two and three:
main/
├── one
├── three
└── two
I thought that by g...
Transcontinental asked 23/5, 2011 at 17:55
1
Considering this commit:
https://github.com/tribbloid/spookystuff/commit/08650c3565a823fb1a696afd7f1461681293a1fe
If I run the following command:
peng@pop-os:~/git/spookystuff$ cat .gitmodules
[su...
Casias asked 20/10, 2023 at 3:12
9
Solved
I am using Git submodules. After pulling changes from server, many times my submodule head gets detached from master branch.
Why does it happen?
I have to always do:
git branch
git checkout mas...
Repartition asked 12/9, 2013 at 17:18
2
I have a project with a submodule. When trying to merge a branch (named release) into master, git identified some conflicts and raised the following error:
Fast-forwarding submodule path/to/submodu...
Nonconformance asked 23/7, 2020 at 14:55
6
Solved
As far as I understand, if you add a submodule in git, then the main repo contains a pointer to a certain commit of the submodule.
Is there any way to see to which commit the main repo points at fo...
Chiropteran asked 18/12, 2013 at 10:6
3
Solved
lets say I have 10 submoules:
module/1
module/2
module/3
module/4
module/5
module/6
module/7
module/8
module/9
module/10
where module/ is the top-level repo.
I want to do git submodule foreach ...
Ameliorate asked 8/10, 2019 at 17:30
3
I have a repo with several submodules. I want to add some others, and the fastest way for me is to use the .gitmodules (which in my opinion should clearly allow any kind of submodule management).
...
Greaser asked 16/7, 2014 at 10:5
3
Solved
I want to add a git submodule with different name like:
git submodule add --name foo [email protected]:ironsand/cookbook-foo.git
I wanted to create a git submodule directory named foo, but ...
Racklin asked 6/10, 2014 at 11:49
2
Solved
I have a submodule to be used with sparse checkout. Without sparse checkout I'd do
git submodule update --init <path/to/submodule>
but how to initialize the submodule repository empty with...
Verily asked 12/10, 2018 at 13:33
12
Solved
Is it possible to have 2 git repositories in one directory? I'd think not, but thought I'd ask. Basically, I'd like to check in my home directory config files (e.g. .emacs) which should be common a...
Bearded asked 12/1, 2009 at 17:1
4
Solved
I have a web application that explores other web applications in a particular way. It contains some web demos in a demos folder and one of the demo should now have it's own repository. I would like...
Delocalize asked 1/7, 2013 at 20:52
4
Solved
I have a repository with two submodules that I want to convert into a single project. Many answers involve scripts, and some seem to be overcomplicated.
[submodule "site"]
path = wp-content/theme...
Nonsense asked 27/4, 2014 at 19:6
1
Solved
When I run the command git submodule status, I see references to tags from months or even years ago. Everything else works fine (the code checks out what I expect it to, and there is no other weird...
Smew asked 26/10, 2021 at 23:28
30
Solved
Note: while the use-case described is about using submodules within a project, the same applies to a normal git clone of a repository over HTTP.
I have a project under Git control. I'd like to add...
Attenuator asked 24/9, 2008 at 15:58
23
Solved
I have a Git repository that has several submodules in it. How do I list the names of all the submodules after git submodule init has been run?
The git submodule foreach command could echo the nam...
Equilibrant asked 28/9, 2012 at 13:58
3
I'm working on a Python project (Project A) that uses another project from GitHub (Project B). I'm not a Git expert, so after a quick research, I found out that I should use the Project B as a git ...
Tetter asked 13/2, 2021 at 13:21
2
Solved
Can somebody clarify how SubModule works in azure devops
MyDevOps Root Folder
I have a Solution called MyCore.sln containing 4-5 projects
I have my Main Solution called MyMain.sln containing ano...
Unfasten asked 4/12, 2018 at 16:4
11
Solved
I have a git superproject that references several submodules and I am trying to lock down a workflow for the rest of the my project members to work within.
For this question, lets say my superproj...
Undercool asked 5/5, 2009 at 20:11
2
I have a Git repository which uses a submodule for a 3rd party library. This 3rd party library also uses submodules.
I actually found a very obscure bug in one of the 3rd party submodules which is...
Hedron asked 6/10, 2016 at 10:54
3
Solved
I was wondering if it is possible to have more than one URL for each git submodule. It would be interested to have more than one source of it if one of them is down or someone is behind a proxy tha...
Aksum asked 6/1, 2010 at 19:5
© 2022 - 2024 — McMap. All rights reserved.