chore: untrack local-only files swept into #172 - #173
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 status --short显示三者重新变为??(untracked),内容未变。