MoonshotAI / MoonshotAI/kimi-code

在独立worktree中完成代码修改,提交时会reset我主分支未追踪的文件

Open
#1,023 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

What version of Kimi Code is running?

0.19.1

Which open platform/subscription were you using?

Kimi Code (OAuth)

Which model were you using?

K2.7 Code

What platform is your computer?

windows

What issue are you seeing?

在独立wroktree中修改文件之后提交的时候将我主分支未追踪的文件重置了

What steps can reproduce the bug?

/yolo 模式,提示在独立worktree完成相关任务,任务完成后提示 “提交合并”。发现master有未追踪文件,使用git将主分支未追踪文件直接reset了,建议学一下codex,不要动和自己本次修改无关的文件

What is the expected behavior?

No response

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using /yolo mode with an independent worktree and an unrelated untracked file on master. Trace the worktree completion and “提交合并” flow, especially where Git reset operations occur; done means unrelated untracked files on the main branch remain untouched.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, typescript
Domain
cli, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.