sligocki
sligocki

Reputation: 6387

Where are gcloud configurations stored on disk?

I just switched computers and lost all my custom gcloud config configurations. I have files backed up from the old machine, but can't figure out which one has the configurations setup. How can I re-enable the old configurations?

Upvotes: 1

Views: 486

Answers (1)

sligocki
sligocki

Reputation: 6387

Aha, looks like they are stored in ~/.config/gcloud/configurations/ and you can just copy them over to use them.

$ ls .config/gcloud/configurations/
config_dev  config_prod  config_staging

Upvotes: 1

Related Questions