Using SubModules in AppHarbor

I know that the current Git submodules are not supported by AppHarbor (according to this support ticket , and I just did a quick test, which she confirmed)

BUT, is there any other way?

I currently have a GitHub repository that I want to use as my main submodule, and I need to create a number of other GitHub repositories that use this code base (with the only changes happening inside the App_Data content).

Using the Git submodule seems like an ideal solution, but of course, the problem is that its contents will not be deployed to AppHarbor.

So, besides creating a hard copy (in the file system) of the main GitGub repository, is there any other alternative?

+4
source share
2 answers

I really found a better way to do this using Git SubTree Merge. This works much better than submodules, since I want to be able to:

  • there are local (merged) files there
  • will be able to make changes to
  • have a complete history of source repositories.

More on git merging subtree:

+3
source

set up a second repo so you don't inflate your binaries. Merge your application into this repo and click from there.

You can also use this repo to β€œdisobey” your dependencies with a short script.

0
source

Source: https://habr.com/ru/post/1395790/


All Articles