Skip to content

Add --force to project delete; surface project in top-level help - #9

Merged
imohsenb merged 1 commit into
mainfrom
feat/project-delete-force
Aug 15, 2026
Merged

Add --force to project delete; surface project in top-level help#9
imohsenb merged 1 commit into
mainfrom
feat/project-delete-force

Conversation

@imohsenb

Copy link
Copy Markdown
Owner

Summary

  • git task project delete <name> now accepts --force, which unregisters any repos still tagged with that project instead of refusing the delete (previously required a separate manual unregister per repo first).
  • project (create/rename/delete/set-default) was missing from the curated "Repos & Projects" section of git task --help, despite being fully implemented and documented at the subcommand level — added it there.
  • Bumped Cargo.toml version to 1.0.7 (CI requires it strictly above the latest release tag).

Test plan

  • cargo test — 100+ tests pass, including two new ones covering project delete without/with --force
  • Manually verified git task --help now lists project
  • Manually verified project delete <name> --force unregisters repos and deletes the project; without --force it still refuses with a clear error

'project delete' refused to remove a project with repos still
registered, requiring a separate manual unregister first. --force
now unregisters them as part of the same call.

Also fixes 'project' (create/rename/delete/set-default) being
missing from the curated 'Repos & Projects' section of `git task
--help`, even though it was fully implemented and documented at the
subcommand level.
@imohsenb
imohsenb merged commit a307e3f into main Aug 15, 2026
5 checks passed
@imohsenb
imohsenb deleted the feat/project-delete-force branch August 15, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant