From 308224458f03b8b56012320968c3414d4c47bec6 Mon Sep 17 00:00:00 2001 From: Kevin Porras Date: Tue, 5 Sep 2023 12:04:44 -0600 Subject: [PATCH] Document --no-git-force flag for env:push and env:create commands. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4ae71e60..1c4fac28 100644 --- a/README.md +++ b/README.md @@ -254,6 +254,8 @@ The `build:env:create` command creates the specified multidev environment on the | --message | The commit message to use when committing the built assets to Pantheon | | --no-git-force | Set this flag to omit the --force flag from `git add` and `git push` | +By default, this command uses the `--force` flag for both `git add` and `git push`. Passing `--no-git-force` will prevent adding this flag but unless your remotes are in sync, it will most likely make the push fail. + ### build:env:delete:ci The `build:env:delete:ci` command is used to delete multidev environments on Pantheon that match the CI pattern of builds (`ci-*`). @@ -330,6 +332,8 @@ The `build:env:push` command pushes code in the current directory to an existing | --message | The commit message to use when committing built code to Pantheon | | --no-git-force | Set this flag to omit the --force flag from `git add` and `git push` | + By default, this command uses the `--force` flag for both `git add` and `git push`. Passing `--no-git-force` will prevent adding this flag but unless your remotes are in sync, it will most likely make the push fail. + ### build:project:info The `build:project:info` command displays information about a site created by the `build:project:create` command.