kmcp-dev-git-editor-safe
Installation
SKILL.md
Git: editor-safe commands (agent terminal)
Repository: kairos-mcp. Skill index: .agents/skills/README.md.
Maintainers often set core.editor = code --wait. When this agent runs Git in the terminal, prefix commands that may invoke an editor so the IDE does not block automation:
- Rebase / merge / anything that might open an editor:
GIT_EDITOR=true GIT_SEQUENCE_EDITOR=true <git …>
Examples:
GIT_EDITOR=true GIT_SEQUENCE_EDITOR=true git rebase origin/main
GIT_EDITOR=true git merge --continue
GIT_EDITOR=true git rebase --continue
Use git commit -m '…' with a real message so no editor is needed for commits.