Tag: git submodules

Continuous Deployment of VSTS app with Git submodules fails on Azure

I am trying to deploy a VSTS (Visual Studio Team Services) Git app including submodules to Azure using the Deployment source option in the Azure web app. All submodules are hosted in the same VSTS project but under different Git repositories. The deployment to Azure fails with the following error message: fatal: could not read […]

Is it possible to have two different submodules depending on git branch?

My company (consultancy) is developing for another company (customer). The two main engineers on the project for the consultancy (lead iOS and lead Android) have login capabilities for the customers git for maintenance of the source code. Besides that we (consultancy) have an internal git setup for our developers to use. To manage the internal […]

add python modules that depend on each other as git submodules

I have these 2 little modules in 2 separate git repositories: RepoA/A.py def foo(): return “Hello World” RepoB/B.py import sys try: import A except ImportError: print(“Dependency not available!”) sys.exit(1) def bar(): return A.foo() + ” EXTENDED!” You see that B currently assumes A is importable globally (either installed or in the script-execution directory). Both have […]

Force Adding Submodule Contents in Git

I’m coding at a school that requires us to submit all of our work to their servers with git. Each assignment has its own folder that has its own .git directory. I’m trying to make the parent folder push to my github, but when I do push it doesn’t actually upload the code inside of […]

How to fix Git submodule resulting in 404 not found..?

I have a GitHub repo for a PayPal PHP class library, and I have a [separate GitHub repo for a set of demo kits][2] that are built using the library. The demo kit repo adds the class library as a Git submodule, and it also adds Bootstrap as a submodule. This is my .gitmodules file… […]

Cloud build failing on git submodules

I have a Unity project in a git repo hosted on VSTS with submodules, I’ve integrated it the git repo with Unity cloud build. When Cloud Build tires to do a build it seems to go fine checking everything out until it reaches the modules, it hangs on the line ‘328: Cloning into ‘Assets/MySubmodule’… and […]

Git: Zombie submodule

So I’ve somehow managed to create a zombie git submodule. $ cat .gitmodules [submodule “Source/CrashProbe”] path = Source/CrashProbe url = https://github.com/bitstadium/CrashProbe.git git thinks the submodule is untracked: $ git status On branch master Your branch is up-to-date with ‘origin/master’. Untracked files: (use “git add <file>…” to include in what will be committed) Source/CrashProbe/ Deinit doesn’t […]

Why branch checkout on Windows is so slow, but on Linux so fast?

I got a git repository with several submodules and got horrible performance on my Windows 10 build 15063, while on my Linux Mint 18 Sarah everything is fast as the speed light. Both on Windows and Linux using the Smartgit client, where I can do checkout on a test branch, but takes like 3 minutes […]

Another use-case of splitting a git project into several subprojects

I have split my project into several subprojects But all have a common part (directory with cmake scripts). Moreover some subproject need to include other subprojects (libraries). I would prefer to use git submodules but as far as I know they have a limitation that a submodule needs to be in a separate directory in […]

Git submodules and the status queue

I added two submodules to my vim repository, and the git status command always outputs this: 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) modified: bundle/snipmate modified: bundle/yankring I’ve run: git submodule init git submodule […]

Git Baby is a git and github fan, let's start git clone.