Skip to content

Add GIT_EDITOR="true" guideline to AGENTS.md#451

Merged
fglock merged 1 commit into
masterfrom
docs/agents-git-editor
Apr 7, 2026
Merged

Add GIT_EDITOR="true" guideline to AGENTS.md#451
fglock merged 1 commit into
masterfrom
docs/agents-git-editor

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented Apr 7, 2026

Summary

  • Adds step 6 to the Git Workflow section in AGENTS.md recommending GIT_EDITOR="true" for non-interactive git operations (e.g., git commit --amend, git rebase)
  • The true command exits immediately with success, preventing the agent from hanging on an interactive editor like vim

Test plan

  • Verified the change is documentation-only (no code changes)

Generated with Devin

Use `true` instead of vim for non-interactive git operations
to avoid hanging on an interactive editor.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@fglock fglock merged commit 86223b2 into master Apr 7, 2026
2 checks passed
@fglock fglock deleted the docs/agents-git-editor branch April 7, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant