You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(init)!: make git extension opt-in and remove --no-git at v0.10.0
- Remove --no-git parameter from specify init command
- Remove git extension auto-installation from init flow
- Git repository initialization (git init) still runs when git is available
- Remove --no-git from all test invocations across the test suite
- Update docs to reflect opt-in git extension behavior
- Replace TestGitExtensionAutoInstall with TestGitExtensionOptIn tests
BREAKING CHANGE: specify init no longer auto-installs the git extension.
Use `specify extension add git` to install it explicitly.
The --no-git flag has been removed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/reference/core.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,16 +15,14 @@ specify init [<project_name>]
15
15
|`--script sh\|ps`| Script type: `sh` (bash/zsh) or `ps` (PowerShell) |
16
16
|`--here`| Initialize in the current directory instead of creating a new one |
17
17
|`--force`| Force merge/overwrite when initializing in an existing directory |
18
-
|`--no-git`| Skip git repository initialization |
19
18
|`--ignore-agent-tools`| Skip checks for AI coding agent CLI tools |
20
19
|`--preset <id>`| Install a preset during initialization |
21
20
|`--branch-numbering`| Branch numbering strategy: `sequential` (default) or `timestamp`|
22
21
23
22
Creates a new Spec Kit project with the necessary directory structure, templates, scripts, and AI coding agent integration files.
24
23
25
24
> [!NOTE]
26
-
> The git extension is currently enabled by default during `specify init`.
27
-
> Starting in `v0.10.0`, it will require explicit opt-in. To add it after init, run `specify extension add git`.
25
+
> The git extension is opt-in during `specify init`. To add it after init, run `specify extension add git`.
28
26
29
27
Use `<project_name>` to create a new directory, or `--here` (or `.`) to initialize in the current directory. If the directory already has files, use `--force` to merge without confirmation.
This tells Spec Kit which feature directory to use when creating specs, plans, and tasks.
322
-
323
-
**Why this matters:** Without git, Spec Kit can't detect your current branch name to determine the active feature. The environment variable provides that context manually.
0 commit comments