How to ignore files when running `gcloud app deploy`?
问题 When I run gcloud app deploy app.yaml which files actually get uploaded? The project folder contains folders and files such as .git , .git_ignore , Makefile or venv that are irrelevant for the deployed application. How does gcloud app deploy decide which files get uploaded? 回答1: tl;dr: you should use a .gcloudignore file, not skip_files in app.yaml . While the prior two answers make use of skip_files in the app.yaml file. There is now a .gcloudignore that is created when using gcloud deploy