git-submodules Questions
3
I've set the core.sshCommand option for a repo so that I could use a different ssh key when working with it (i.e. sshCommand = ssh -i /path/to/key). However, when I run git submodule update this op...
Charmainecharmane asked 26/8, 2019 at 11:32
4
Solved
I have several projects, each in their own repository, that import a common library which has its own repository as well.
So, the .gitmodules file includes the library with the full name:
Submodule...
Blackandwhite asked 19/9, 2019 at 21:22
4
In my project, im using a third party library. I had git cloned this lib in my project, and then had done git submodule init and git submodule update in the lib folder. I pushed my main project to ...
Daley asked 25/11, 2012 at 13:49
8
Solved
I have a git repo with multiple submodules. I have tried deleting and adding the submodule in question (scopatz's nanorc), however the error persists across the deletion and re-addition. When I clo...
Nadeen asked 11/4, 2020 at 20:9
2
I have two private GitHub repositories within my organisation (or my user). One of them contains the other as a submodule. How can I clone this other private repository with its containing submodul...
Jointworm asked 21/6, 2022 at 5:18
2
Solved
Suppose I find an interesting repository on github that I want to use, I add it as submodule and then one day the owner of the repo decide to delete the repo, would my submodule become broken?
Uppermost asked 23/1, 2021 at 15:39
10
In one of my projects, the Travis builds are failing before any of my build-system or code can be reached, as soon as my build-script attempts to fetch all of the Git tags with git fetch --tags:
`...
Heidi asked 9/10, 2019 at 17:42
12
Solved
The objective is to commit a git branch. The output of "git status" for the branch is:
On branch zeromq_new
Your branch is up to date with 'origin/zeromq'.
Changes not staged for commit:
(use "g...
Andalusite asked 4/5, 2018 at 5:47
4
I have a strange problem with "git submodule init"
When I added the submodules using "git submodule add url location" it cloned the repository just fine and everything was ok.
When I pushed all m...
Assassin asked 29/9, 2016 at 8:51
9
Title says it all. I tried using a bunch of different git commands like git submodule update --remote --merge and git submodule foreach git pull origin master which work fine on my computer, but no...
Aerialist asked 17/10, 2020 at 21:5
15
Solved
I am not able to clone the submodule existing within my private git repository. I do have access to entire repository,
Have used the below commands but dint work, please help. What is the right w...
Backdrop asked 21/9, 2014 at 8:0
4
Solved
I have sup aliased to submodule foreach 'git co master; git up' (co & up are aliases for checkout & pull --rebase, respectively.).
How do add a condition so that if the submodule name is L...
Esophagus asked 3/12, 2011 at 1:25
5
Solved
I have a project that has specified submodules in it. Everything works well on the dev machine. I have commited .gitmodules file and pulled on the production. However it does not pulled submodules....
Reconnoiter asked 27/5, 2013 at 12:52
5
Solved
I'm very confused about git-submodules.
Basically my problem is that I can't make git understand that ~/main-project/submodule is a submodule.
I have good experience with git submodules:
in my ...
Yeeyegg asked 3/4, 2016 at 14:29
10
Solved
I have a submodule in a project in Jenkins. I've enabled the advanced setting to recursively update submodules.
When I run the build, I see that the workspace has the files from the submodule. The...
Barbee asked 31/3, 2012 at 5:33
15
Solved
How does git submodule add -b work?
After adding a submodule with a specific branch, a new cloned repository (after git submodule update --init) will be at a specific commit, not the branch itself ...
Choke asked 22/11, 2009 at 4:55
4
Solved
I'm attempting to create a node/go library (https://github.com/simpleviewinc/git-tools) to help using git to checkout a repo to a specific remote/branch for handling production checkouts as well as...
Edson asked 1/11, 2020 at 22:16
40
Solved
How do I remove a Git submodule?
Why can't I do
git submodule rm module_name?
Ventre asked 11/8, 2009 at 14:31
7
Solved
What are the conceptual differences between using git submodule and subtree?
What are the typical scenarios for each?
Juvenescence asked 2/8, 2015 at 8:5
16
Solved
I have a git submodule (RestKit) which I have added to my repo.
I accidentally changed some files in there and I'd like to go back to the source version. In order to do that, I tried to run
Mac:...
Tengler asked 5/6, 2012 at 23:52
5
Solved
I have two git branches, develop and redesign that I need to merge. I have a submodule called library where its updates are being tracked by develop. When I run 'git merge' it says library has been...
Leath asked 23/8, 2019 at 20:23
2
git submodule update has supported the --depth option as described in this answer.
But still we can't easily determine the depth value, which would probably make git unable to find the intended re...
Mauriac asked 27/3, 2014 at 2:44
1
Solved
People ask and ask how git submodule add in case where both repos are private?
Solenne asked 8/2 at 13:19
7
Solved
I'm in the process of setting up a deployment script. The basic process is:
Push changes to a bare repository on the server
Then based on new tags will create a new folder for the release.
Use gi...
Farley asked 30/3, 2011 at 6:11
7
Solved
I have some trouble with a git repository that contains several submodules.
The super git repository was constructed with the commands
mkdir projectname
cd projectname
git init
git submodule add ...
Lamphere asked 17/5, 2011 at 13:28
1 Next >
© 2022 - 2024 — McMap. All rights reserved.