Why does "gcloud init" create the "default /" directory?

When running gcloud init it creates a directory called "default" where it clones sources.

Maybe a stupid question, but why is it called "default"?

Is there a way to change the name or cloning sources in the current directory (without creating a new one)?

+3


source to share


1 answer


The 'gcloud init' command currently only clones one repo, which is named by default. in the future you will be able to host multiple repositories, each with its own name.

In addition, we can add the ability to import other assets well into your project, which will not necessarily live in your repo.



So, the main Google hosted repository is one of the assets that is part of your local developer workspace and since we intend to bring more in the future, it will be placed in its own "default" directory (which is called the name of this repo) so that it does not have conflicts with future assets.

+8


source







All Articles