HomeTutorials › Tools: Git/Build/Test
Tools: Git/Build/Test

Git Tools

#053 0:13 Part of the Rysh video series

Summarize your changes and commit -- the agent reads git for free, but the commit waits for you.

Git Tools — 0:13 walkthrough

What you'll see

  1. Launch rysh in a git repo with uncommitted changes; double-Esc to prompt mode.
  2. Prompt: "summarize my changes and commit them."
  3. Agent calls git_status, git_diff, git_log (all read-only) to understand the changes, then drafts a message.
  4. git_commit triggers an approval prompt showing the message; press y to commit (or N to reject with a reason).

Commands shown

rysh
summarize my changes and commit them
y

Keys used

EnterEscape

Transcript

0:00Summarize your changes and commit -- the agent reads git for free, but the commit waits for you.

0:03Start rysh inside a git repository that has a few uncommitted changes.

0:08Double-press Escape to reach prompt mode.

0:13Ask it to summarize your work and commit. The agent calls git_status, git_diff, and git_log -- all read-only -- to understand what changed, then drafts a commit message for you.

0:30The git_commit tool is the one that needs approval. The footer shows the proposed message; press y to approve, and the commit lands. Capital N lets you reject with a reason if you want a different message.

0:40Reads are instant, writes are gated -- git, the safe way.

Key takeaway
Git reads (git_status/git_diff/git_log) run instantly; only git_commit is approval-gated.