Questions tagged [submodule]

14 questions
33
votes
3 answers

Rescuing files and commits from "no branch" in git

I started working on some files I had in a git submodule under another project. However, since it was a git submodule it never checked out "master" and instead just checked out the head and placed all the files in the folder in "no branch". Now that…
Xeoncross
  • 4,842
14
votes
2 answers

What's the benefit of specifying a branch for a submodule?

Reading the documentation of the git submodule command I found out that you can specify a branch for a submodule using git submodule set-branch -branch -- This results in a config entry in the .gitmodules file > git…
fabian
  • 193
9
votes
2 answers

My Git submodules are not loading all files

I have about 8 submodules in my project (/modules/..) and some of them are not fully checking out. In other words, when I run git submodule init git submodule update Some of the submodule directories do not contain the all the files. My first…
Xeoncross
  • 4,842
4
votes
1 answer

git submodule foreach git pull origin master vs. git pull --recursive-submodules

I manage a repository with several submodules. For a while now I've been using $ git submodule foreach git pull origin master to pull in the latest changes for all of these guys. However, recently I learned about $ git pull…
Ncat
  • 191
3
votes
0 answers

How to solve ImportError: No module named certifi

I am using Debian Testing, and I am trying to install couple modules one them is the discog client. However I keep hitting this certifi thing which I have no iodea about. According to my python installation, certifi module is in the system. See the…
yarun can
  • 1,060
2
votes
1 answer

Can't add particular repo as a submodule

I'm switching to using submodules for my vim plugins. The usual way of doing this is: $ git submodule add https://github.com/vim-scripts/a.vim bundle/a.vim Cloning into 'bundle/a.vim'... etc, etc This works fine with every plugin but Gundo: $ git…
Dean
  • 2,880
2
votes
1 answer

Git submodules with the same name

Is it possible to have multiple Git Submodules to have the same name but with different path? I want to have the same name because they do slightly different, but essentially the same thing. I am able to recognize what does what, when I know the…
Porcupine
  • 513
2
votes
0 answers

How to automatically generate .gitsubmodules from existing directory structure?

I have a directory in which different sub-directories are github repos from many places. Now I want to upload them in another git repo. Is there anyway to generate .gitmodules for this parent repo. Or do I have to manually add each subdirectory…
sal_guy
  • 121
  • 1
0
votes
1 answer

Git Submodule Command not executing properly

I am trying to run this command: $git submodule init fatal: Not a git repository (or any of the parent directories): .git Why am I getting this error. I am trying to set up ActionBarSherlock, but I can not get past the first command. I need ABS for…
Josiah
  • 1,794
0
votes
2 answers

Easy way to create repo with submodules from folder containing git repos as subfolders

My case is ~/Library/Application Support/TextMate/Pristine Copy/Bundles there I have some bundles/folders which are all git repos. If I create git repo at Bundles folder, which will be the easiest/fastest way to add all bundles as submodules to this…
tig
  • 4,803
0
votes
1 answer

Overwrite bash alias for git pull to include --recurse-submodules

Neither functions seem to affect anything for me? Is anyone able to get them working and show me what I'm doing wrong? I'm trying to override git pull to include recursive submodules whilst keeping other git commands…
P1000
  • 1
0
votes
1 answer

hiding rows based on a cell for multiple worksheets

I have a folder with multiple worksheets each sheet is for a separate date. I want to hide rows based on the cell information in F5. I have managed to get this working for one sheet but not multiple. Private Sub Worksheet_Change(ByVal Target As…
0
votes
0 answers

Jenkins failing to checkout pipeline script when repository contains submodules

I have a Jenkins multibranch pipeline job that was working prior to adding submodules. Now that submodules have been added, the job hangs when trying to checkout the pipeline script from the repository. Complete log (last line is where it…
Alex
  • 1
  • 1
  • 1
-1
votes
2 answers

How can I see which modules exists in a .so files?

I'm trying to understand Linux and *.so files. It's hard. I try to figure out, how can I find which modules are available in a *.so file, e.g: In my httpd configuration file I found the following line: LoadModule wsgi_module modules/mod_wsgi.so I…
N. J
  • 99