diff --git a/cmd/skillshare/uninstall.go b/cmd/skillshare/uninstall.go index 624791e41..b1e94dfc1 100644 --- a/cmd/skillshare/uninstall.go +++ b/cmd/skillshare/uninstall.go @@ -603,6 +603,7 @@ If the skill was installed from a remote source, a reinstall command is shown. For tracked repositories (_repo-name): - Checks for uncommitted changes (requires --force to override) + - Fails if git status cannot be read (requires --force to override) - Automatically removes the entry from .gitignore - The _ prefix is optional (automatically detected) diff --git a/website/docs/understand/tracked-repositories.md b/website/docs/understand/tracked-repositories.md index eb470a04e..35afa5a39 100644 --- a/website/docs/understand/tracked-repositories.md +++ b/website/docs/understand/tracked-repositories.md @@ -167,8 +167,8 @@ skillshare uninstall _team-skills ``` **What happens:** -1. Checks for uncommitted changes (warns if found) -2. Removes the directory +1. Checks for uncommitted changes and stops if it finds any, or if it cannot read the git status (`--force` overrides) +2. Moves the directory to trash (kept 7 days) 3. Next `sync` removes the symlinks from targets --- diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md index 958b8369d..764f0737d 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md @@ -167,8 +167,8 @@ skillshare uninstall _team-skills ``` **何が起こるか:** -1. 未コミットの変更がないか確認します(見つかった場合は警告します) -2. ディレクトリを削除します +1. 未コミットの変更がないか確認し、変更がある場合や git status を読み取れない場合は中止します(`--force` で上書き) +2. ディレクトリをゴミ箱に移動します(7 日間保持) 3. 次の `sync` で Target からシンボリックリンクが削除されます --- diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md b/website/i18n/ko/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md index e944878dd..372e89e58 100644 --- a/website/i18n/ko/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md +++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md @@ -167,8 +167,8 @@ skillshare uninstall _team-skills ``` **일어나는 일:** -1. 커밋되지 않은 변경 사항이 있는지 확인 (있으면 경고) -2. 디렉터리 제거 +1. 커밋되지 않은 변경 사항이 있는지 확인하고, 변경 사항이 있거나 git status를 읽을 수 없으면 중단 (`--force`로 무시) +2. 디렉터리를 휴지통으로 이동 (7일 보관) 3. 다음 `sync`에서 target의 symlink 제거 --- diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md index 23bbba964..03e3eb3fe 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md @@ -167,8 +167,8 @@ skillshare uninstall _team-skills ``` **发生了什么:** -1. 检查是否存在未提交的变更(若存在则警告) -2. 删除目录 +1. 检查是否存在未提交的变更;若存在变更或无法读取 git status,则停止(可用 `--force` 覆盖) +2. 将目录移到回收站(保留 7 天) 3. 下一次 `sync` 会从 Target 中移除对应的符号链接 --- diff --git a/website/i18n/zh-Hant/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md b/website/i18n/zh-Hant/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md index c8663d626..d8d551796 100644 --- a/website/i18n/zh-Hant/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md +++ b/website/i18n/zh-Hant/docusaurus-plugin-content-docs/current/understand/tracked-repositories.md @@ -167,8 +167,8 @@ skillshare uninstall _team-skills ``` **會發生什麼事:** -1. 檢查是否有未 commit 的變更(若有會提出警告) -2. 移除該目錄 +1. 檢查是否有未 commit 的變更;若有變更或無法讀取 git status,就會停止(可用 `--force` 覆寫) +2. 將該目錄移到垃圾桶(保留 7 天) 3. 下次 `sync` 時,會從 targets 移除對應的 symlink ---