git-submodules Questions

2

Is there a way to copy files from the submodules as well when doing git checkout-index? I already checked the documentation of git checkout-index but it makes no mention of submodules
Arytenoid asked 12/7, 2014 at 7:33

2

I have a git project with several sub-modules (a choice I somewhat regret in retrospect). It uses gnu make Currently I expect people to issue by hand a git submodule update --init1 before buildin...
Springing asked 14/9, 2018 at 17:51

4

I have a build job in Jenkins created by the Github Organization plugin. The Jenkinsfile for this build checkouts the code using checkout scm which is good as it figures out the correct branch/revi...
Fifield asked 12/8, 2016 at 15:30

9

Solved

Somewhen (around the 1.6.x releases, I think) git became aware of changes inside submodules. That only serves to annoy me: $ git status vendor | grep modified: # modified: vendor/rails (modified ...
Devlin asked 13/7, 2010 at 19:47

7

Solved

Is there some easy way to rename a git submodule directory (other than going through the entire motion of deleting it and re-adding it with a new destination name). And while we are at it, why is...
Wrenn asked 24/12, 2010 at 14:52

1

Solved

I have list of submodules in .gitmodules. I want to download a specific submodule i.e grpc only if there is some option enabled as true in config file. Since grpc is not required at times for my b...
Gustav asked 5/9, 2018 at 7:29

4

There are useful answers how to remove submodules "locally" - How do I remove a submodule? However I have the issue I have clones of my repo on several machines. Two I only work once or twice a mo...
Harday asked 22/8, 2018 at 9:30

3

Solved

I have in a folder a large number of projects that I cloned for quite some time; recently I moved this whole folder into one of my repos and would like to convert these cloned projects into submodu...
Prefigure asked 23/5, 2013 at 22:44

3

Solved

I'm trying to set up an Xcode bot with OSX server. After configuring the git repository and creating a bot, I run integrate. It fails because the repository is checked out only partially. More prec...
Ouzel asked 9/1, 2014 at 10:26

1

My project is split into gitmodules like so: / + | +-module_1 | | | +- cloudbuild.yaml | +- src/ | +-.git/ | +-module_2 | | | +- cloudbuild.yaml | +- src/ | +-.git/ | +- .git/ +...

3

Solved

I'm trying to use git submodules for aggregating 10+ repositories into one structure for easy development. It is supposed to clone the module and checkout a branch. Instead, the module is checked ...
Antiphrasis asked 14/11, 2013 at 18:59

2

Today I started getting a new warning from git that I haven't seen before regarding my submodules. For example: warning: <hash_omitted>:.gitmodules, multiple configurations found for 'submod...
Watchdog asked 16/8, 2018 at 18:15

2

Solved

I'm recently put a repository into bitbucket. And this repository has some submodules I'm working on a Initialization script. I would like to clone the main directory and them pull all subdirector...
Quintana asked 8/8, 2018 at 20:23

2

Solved

How can I do the reverse of git submodule absorbgitdirs? I.e. move a submodule's .git information out of superproject/.git/modules/<module> and back to the superproject/path/to/<module>...
Jobie asked 15/6, 2017 at 5:35

2

I always struggle to write good git commit messages for commits which did nothing except update which commit a submodule is on. What I really want to write is "just read the freaking submodule comm...
Bulganin asked 1/11, 2015 at 23:10

4

Solved

I am using Twitter's Fabric on my iOS app. Crashlytics in Fabric just updated itself and now I cannot commit my project to git. I get the error: git error: unable to index file Crashlytics.framewo...
Yaws asked 1/6, 2015 at 18:47

2

Solved

I recently put some of my projects on github to make them open source but I'm having trouble understanding how to structure the projects properly. I've got a Core project and another project that ...
Nerland asked 18/6, 2013 at 4:40

1

Solved

I'm creating cocos2d-x game and include upstream cocos fom git (it include some critical fixes and features). However, using SDKBOX require patching some cocos files (which is in submodule). Is it...
Regulation asked 18/7, 2018 at 15:42

3

Solved

My personal repository has some repositories as submodules. And the following command $ git submodule foreach git pull origin master was faced with the following result right after entering ruby...
Causalgia asked 19/2, 2013 at 15:27

0

I have an R package on github. This R package has C++ dependencies which I include in /src. The correct way I would normally do this (outside of R) is create submodules within the github repo, wh...
Erratum asked 22/5, 2018 at 18:40

3

Solved

I've added a submodule in my main git folder tree and haven't changed anything but it's showing up modified. What do I do about this? $ git status # On branch master # Changed but not updated: # (...
Carlisle asked 15/5, 2011 at 4:30

0

I'm trying to fork a github repo which uses several sub-modules. If I just fork the repo, the submodules are still referencing the original submodules (i.e., the submodules themselves arent forked)...
Warmhearted asked 14/5, 2018 at 19:5

1

Solved

having trouble getting my head around submodules They appear to be unnecessarily complicated. Normally I totally avoid them but a project has forced me into this situation So... I have a git rep...
Bergh asked 9/5, 2018 at 13:6

2

Solved

I have a repository that contains the code for an old version of a website that is no longer being used on master. The site was completely redesigned in a new repository, and the code and history f...
Barge asked 7/2, 2014 at 8:1

3

Solved

I'm trying to get just a folder from an external github repo to use in my project. I want my project setup to be like this: -my_project -submodule -code.py -MY_README -.git And I have the r...
Tiphany asked 5/10, 2010 at 18:45

© 2022 - 2024 — McMap. All rights reserved.