Skip to content

Commit

Permalink
Document --no-git-force flag for env:push and env:create commands. (#483
Browse files Browse the repository at this point in the history
)
  • Loading branch information
kporras07 authored Sep 5, 2023
1 parent 5e6368c commit f67ba8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-*`).
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit f67ba8d

Please sign in to comment.