Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ git push --force-with-lease origin <branch>

- `.git/info/exclude` — 个人本地目录(`.omc/`、`.remember/`、`.impeccable/`)放这里,不提交到 `.gitignore`
- worktree 提交 — 如 `EnterWorktree` 创建的 worktree 中 git 命令不可用(`not a git repository`),使用 `GIT_DIR=../.git GIT_WORK_TREE=<path> git ...` 变通
- 推送后本地同步 — 通过 worktree 提交推送后,主仓库工作树会脱节,执行 `git restore .` 同步
- 推送后本地同步 — 通过 worktree 提交推送后,主仓库工作树会脱节,执行 `git fetch && git reset --hard origin/main` 同步(`git restore .` 只恢复文件,不移动分支指针)
- 不写 `Co-Authored-By` 尾部

## 新技能注册清单
Expand Down
Loading