Claude Code 覆盖了你未提交的改动:先用 /rewind,再用编辑器 local history 抢救
未提交的活儿被 agent 跑没了——先试 /rewind,再用编辑器 local history 和 reflog 抢救,最后用「跑 agent 前先 commit」+ deny 规则 + worktree 锁死。
带有该标签的文章
未提交的活儿被 agent 跑没了——先试 /rewind,再用编辑器 local history 和 reflog 抢救,最后用「跑 agent 前先 commit」+ deny 规则 + worktree 锁死。