I have a project that has 2 flavors, one kind of premium and another regular. If I upload this project to github then only files from the main branch are loaded.

How to download the entire project with all the contents of all flavors ?

Here I am blinded the project for the test

enter image description here

As you can see there are debug main directories myone

After that, I upload this project to github and upload it as a zip back. I open and now the structure looks like this

enter image description here

There is only a main directory; there are no debug and myone

If you forgot to specify something, ask

  • one
    Well, are there flavors in the main branch of the local repository, or are they somewhere in a separate branch? In any case, the presence of flavors does not affect the work of the guitar. - temq
  • And why put the code with "premium" stuffing in an open repository? - zTrap
  • one
    @temq 1. What is the point of paying for a closed repository on github, if they are free on bitbucket? 2. "to an open repository? - zTrap 3 min. Ago" - zTrap
  • 2
    @zTrap each chooses tools from their needs and preferences. On bitbucket repositories "conditionally" free. I think the arguments about choosing a platform for placing code go beyond the scope of this issue. - temq
  • 2
    @AlekseyTimoshchenko, try to put files to the flavors folder. Perhaps they do not get into the archive due to the fact that they are empty - YuriySPb

0