git-submodules Questions
3
Solved
as of git version 1.9.3 (Apple Git-50) on mac how do i remove a git submodule? I am reading alot of outdated information with many developers telling me they wont work. What is the current way ?
w...
Hexarchy asked 24/4, 2015 at 14:24
1
Solved
When you add a submodule to your git project - it adds a gitmodules file and pulls down the actual submodule and stores it in your project.
Do I need to commit the actual submodule that's pulled d...
Undermanned asked 12/3, 2018 at 3:2
1
Solved
Where I work, we use a tool called apache Ivy for dependency management. However, I have recently been working on a project of my own with multiple repositories, therefore, I am using a git superpr...
Abri asked 7/3, 2018 at 0:52
1
First I have a main project and a submodule inside.
What I want to do is:
Make changes on the code of submodule
Commit to the main project git repository
to let the changes can be tracked by t...
Bursa asked 12/2, 2018 at 6:53
5
Solved
Is there any way in git to know if you're in a submodule? You can do thinks like git submodule foreach in the parent directory but I can't seem to come up with a generic way to show that you're in ...
Mummify asked 9/9, 2011 at 8:50
2
Is there a way to ignore dirty submodules when using git add --patch?
I've set ignore = dirty as explained here. This seems to only work with git status and git diff. I love git add -p. Having to ...
Cagle asked 4/8, 2011 at 2:32
1
Consider the situation where you're importing a Python submodule with dependencies into a project with its own dependencies. Say that the submodule has its environment.yml file and the project itse...
Homan asked 8/1, 2018 at 21:12
4
Solved
I'm not clear on what the following means (from the Git submodule update documentation):
...will make the submodules HEAD be detached, unless --rebase or --merge is specified...
How does --reb...
Iridotomy asked 30/12, 2009 at 9:2
7
Solved
I have two repositories, one is the main repo for a library, and the other is a project using that library.
If I make a fix to the in the subservient project, I'd like an easy way to apply that pa...
Hellhound asked 31/5, 2009 at 11:32
4
Solved
TLDR; This is going to be a long winded post but I am sure many of you unity3d developers are also running into the same problem I am. A problem that needs a clear definitive, once and for all answ...
Senn asked 22/7, 2014 at 23:3
4
Consider a C++ project, organized in a git repository. Assume that the git repository has a submodule from which a library is built on which the (super)project depends. If the (super)project depend...
Koheleth asked 22/7, 2015 at 14:55
6
Solved
Background
Using Git 1.8.1.1 on Linux. The repository looks as follows:
master
book
The submodule was created as follows:
$ cd /path/to/master
$ git submodule add https://[email protecte...
Asceticism asked 19/1, 2013 at 20:7
2
Solved
I added a submodule to my git repo like this:
$ git submodule add git://github.com/user/some-library some-library
I've decided I want to create a fork of that library to do some adjustments. How...
Borak asked 24/7, 2012 at 18:36
1
I'm collaborating on a GitHub project (I've forked the repo) that has recently been re-structured into submodules.
Earlier I would git stash my changes, do a git pull --rebase shared_origin master...
Shroyer asked 17/11, 2017 at 4:59
2
Solved
I'm working on a "modular Java application", it has around 60 independent modules, all obviously "buildable" on their own.
I'm trying to understand what can be the best approach to structure this ...
Brockie asked 16/11, 2017 at 9:27
3
Solved
When I run git submodule init, I get the following error:
No submodule mapping found in .gitmodules for path 'xxx'
I searched for a .gitmodules file and I cannot find it anywhere.
I have read...
Sneakers asked 10/6, 2013 at 5:25
3
Solved
Background
To populate a repository's submodules, one typically invokes:
git submodule init
git submodule update
In this usage, git submodule init seems to do only one thing: populate .git/conf...
Chigger asked 5/6, 2017 at 10:2
4
Solved
I have a git repository with submodules in the directory projects/myRepo and I want to rename the directory to projects/my-repo.
According to this question it can simply be done with mv. But in a ...
Helle asked 26/3, 2012 at 19:58
4
Solved
I have a Git repo which has subfolders as Git subrepositories.
+ main (local GIT repo)
+ subdirectory1
+ plugin1 (created as local GIT repo)
+ plugin2 (created as local GIT repo)
+ subdirector...
Portie asked 3/2, 2015 at 19:6
3
Solved
Maybe I'm using git-submodules not on purpose, but if there's any other git feature which satisfies my case, would be nice to find it.
After cloning repository, I want submodule to be in master br...
Keaton asked 24/2, 2014 at 6:5
2
Solved
The git documentation doesn't make it at all clear what the difference is between a git submodule update and a git submodule sync is. I'm also not finding any help out on the web. Can someone help ...
Berte asked 14/8, 2017 at 16:23
0
I have a submodule added to my repository, say its name is shared-lib. I don't want this lib to be tested by Jest runner so I added this option to Jest config in package.json: "modulePathIgnorePatt...
Rok asked 11/8, 2017 at 17:17
2
Solved
In my git repo, I have imported some other project as a submodule. So far, so good. However, the maintainers of the imported project are a bit sloppy about their .gitignore files. So, after buildin...
Emery asked 10/7, 2017 at 15:15
2
Solved
Suppose I have a library Common that may be used stand-alone, and is used by projects P1 and P2, so the tree I want looks like
/Common/.git
...
/P1/.git
.gitmodules # points to remote server
Co...
Runofthemine asked 6/12, 2010 at 13:22
1
Our container-builder fail to build an image we have that has a private git submodule command as part of the DockerFile.
I linked the console account with the bitbucket account, (which has access ...
Waver asked 19/6, 2017 at 14:31
© 2022 - 2024 — McMap. All rights reserved.