Skip to content

Commit

Permalink
Update website/docs/reference/commands/init.md
Browse files Browse the repository at this point in the history
Co-authored-by: mirnawong1 <[email protected]>
  • Loading branch information
matthewshaver and mirnawong1 authored Oct 10, 2023
1 parent dd9b82e commit bcb668e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/docs/reference/commands/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Then, it will:

<VersionBlock firstVersion="1.7">

Use the `--profile` flag with `dbt init` to initialize the project with an existing `profiles.yml` as the `profile:` key instead of creating a new one.
When using `dbt init` to initialize your project, include the `--profile` flag to specify an existing `profiles.yml` as the `profile:` key to use instead of creating a new one. For example, `dbt init --profile`.



If the profile does not exist in `profiles.yml` or the command is run inside an existing project, the command raises an error.

Expand Down

0 comments on commit bcb668e

Please sign in to comment.