I always forget to push submodules. Sometimes I forget to add –recurse-submodules=check to git push. Even worse, others on my team might do the same. Is there a git config option we can set to make check the default?
I am sitting on a proxy which only allows http/https traffic only, I am able to clone a repository from Github, but I have to fetch/push using the https URL and username/password. Now my issues is a repository with submodules, when I execute git submodule update it times out, and I can only assume this […]
I have just done git merge in the app, I resolved many conflicts But when i do git status, i can see list of submodules with (new commits) in the message, it looks like the submodules (branch/tag) version have not been updated. For example: modified: plugins/myplugin.git (new commits) So, How to update the submodules with […]
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 Libraries/JSONKit, it checks out the branch named experimental, instead of master?
I’ve got some files/folders that just wont leave the Git staging area? # On branch master # Changed but not updated: # (use “git add <file>…” to update what will be committed) # (use “git checkout — <file>…” to discard changes in working directory) # (commit or discard the untracked or modified content in submodules) […]
We are having a lot of problems recently with our Git repositories. We are users of git submodules for a total of 4 shared repositories between our applications. For example, repository ‘website’ has a total of 3 submodules. [submodule “vendor/api”] path = vendor/api url = firstname.lastname@example.org:api [submodule “vendor/auth”] path = vendor/auth url = email@example.com:auth [submodule […]
What is more recent invention — git subtree merge strategy (not the new git-subtree command) or git submodule command (or maybe underlying mechanism if there was a separate one symmetrical to git subtree command vs. merge strategy). What was included in Git distribution release first? Bonus points for links to relevant Git ML posts. I […]
Say I have some big repo, BigRepo, and I want to add it as a submodule for another project. Normally I would do $ git submodule add firstname.lastname@example.org/me/BigRepo.git but I don’t want to download the whole thing again. Luckily I already have a checkout of it, so I try $ git clone ../BigRepo Cloning into […]
We are migrating to git. We have a large number of modules that make up our products, some of them are shared between products. The product is represented by a “thin” super repository (ssh://server/product.git) that only contains submodules: [submodule “module1”] path=module1 url=ssh://server/product/module1.git [submodule “module2”] path=module2 url=ssh://server/product/module2.git … I can clone the super repository and work […]
The problem I’m trying to build my application in Jenkins, and it is on a private repo on Github, also there’s a private submodule. I can clone the private repository in Jenkins by setting up it’s credentials, but Jenkins can’t clone the submodule, here’s the output of a failed build: Started by an SCM change […]