Skip to main content
在 Manus 中运行任何 Skill
一键导入

dotfiles-git

星标80
分支1
更新时间2026年5月20日 07:57

For git operations on files tracked by Leon's dotfiles bare repo — paths under `$HOME` such as `~/.config/`, `~/.claude/`, `~/.local/bin/`, `~/install.sh`, `~/README.md` — use `git dotfiles <subcommand>` instead of plain `git <subcommand>`. The repo is bare at `~/personal/.dotfiles` with `$HOME` as the work tree, so plain `git` cannot find a `.git/` and will either error out or walk up into an unrelated repo. Translate mechanically: same args, same flags. Does NOT apply to git operations in regular projects (any directory with its own `.git/`, e.g. `~/work/*`, `~/personal/projects/*`, cloned repos) — those use plain `git` as normal. The trigger condition is the file path being under a tracked dotfiles location, not the mere mention of "commit" or "git".

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly