Skip to content

chore: untrack local-only files swept into #172 - #173

Merged
c2j merged 1 commit into
mainfrom
fix/untrack-accidental-files
Sep 20, 2026
Merged

c2j merged 1 commit into
mainfrom
fix/untrack-accidental-files

Conversation

@c2j

@c2j c2j commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Follow-up to #172.

问题

#172 squash 合并时用了 git add -A,把工作区里本来就未跟踪的本地文件一起提交了:

  • .github/copilot-instructions.md
  • .github/hooks/workmux-status/hooks.json
  • .sisyphus/plans/fix-analyze-stale-store-version.md

这三个文件在本次工作开始前就是 untracked 状态,与本 feature 无关。

修复

git rm --cached(仅从索引移除,磁盘文件保留),使其回到原本的 untracked 状态。

git rm --cached .github/copilot-instructions.md \
  .github/hooks/workmux-status/hooks.json \
  .sisyphus/plans/fix-analyze-stale-store-version.md

不删除磁盘文件,不修改这三个文件的内容。

验证

Squashing #172 with `git add -A` picked up three files that were untracked
local artifacts before this work started:

  .github/copilot-instructions.md
  .github/hooks/workmux-status/hooks.json
  .sisyphus/plans/fix-analyze-stale-store-version.md

They are unrelated to the MCP lifecycle feature. This removes them from the
index only (git rm --cached), so the files stay on disk and return to their
previous untracked state.
@c2j
c2j merged commit ea0f4e9 into main Sep 20, 2026
2 checks passed
@c2j
c2j deleted the fix/untrack-accidental-files branch September 20, 2026 04:43
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