@@ -28,14 +28,14 @@ git draft [options] --templates [--json | [--edit] TEMPLATE]
2828
2929`git-draft` is a git-centric way to edit code with AI.
3030
31- Its workhorse command is `git draft --new ` (and its shorthand, `git draft`) which suggests code changes using LLMs.
31+ Its workhorse command is `git draft` (shorthand for `git draft --new `) which suggests code changes using LLMs.
3232Prompts can be specified inline or via customizable templates.
33- Prompt templates can get augmented with information about the files in the repository, and give the LLM access to tools for reading and writing files.
33+ Prompt templates can be augmented with information about the files in the repository, and give the LLM access to tools for reading and writing files.
3434Once the response has been received and changes applied, a commit is created in a dedicated draft branch.
35- The `--new` step can be repeated as many times as needed.
35+ This command can be repeated as many times as needed within a draft branch to iterate on the changes.
36+ Manual changes can of course be included.
3637
37- Once satisfied with the changes, run `git draft --quit` to return to the original branch.
38- This keeps the working directory's current state.
38+ Once satisfied with the changes, run `git draft --quit` to return to the original branch, keeping the working directory's current state.
3939
4040
4141== Options
@@ -91,10 +91,6 @@ Go back to the draft's origin branch, keeping the working directory's current st
9191This will delete the draft branch and its upstream.
9292Generated commits and the draft branch's final state remain available via `ref/drafts`.
9393
94- --root::
95- Repository search root.
96- Defaults to the current working directory.
97-
9894-T::
9995--templates::
10096With no argument, lists available templates.
0 commit comments