Guide to README Commands

当您手动创建 README 文件或运行 ai add --preview --description "Create a JPA application" 命令创建 README 文件后,您可以使用 readme apply 命令来应用该 README 文件中描述的更改。

When you have created a README file, either manually or as the result of running the ai add --preview --description "Create a JPA application" command, you can apply the changes described in that README file by using the readme apply command.

例如,如果项目根目录中有一个名为 README-ai-jpa.md 的文件,则可以使用以下命令来应用更改:

For example, if there is a file named README-ai-jpa.md in the root of your project, the following command applies the changes:

spring guide apply README-ai-jpa.md

在应用更改之前,您可以通过提交在 Git 中的工作成果来跟踪更改的内容。

You can keep track of what has changed by committing your work in Git before applying the change.