rm
Remove a cloned repository.
Alias: remove
Usage
jetti rm [OPTIONS] <REPO>
Arguments
<REPO>— Repository specifier (same formats asclone)
Options
--force Skip the confirmation prompt
Behavior
- Prompts for confirmation before deleting (unless
--force) - Removes the repository directory only when the target is an actual git repo
- Cleans up empty parent directories (owner, host) back to the root
- Accepts the same specifier formats as
clone
Examples
# Remove with confirmation
jetti rm owner/repo
# Remove without confirmation
jetti rm owner/repo --force
# Remove a GitLab repo
jetti rm gitlab.com/owner/repo --force