Skip to content

Changes

In the Changes Pane, you can check the list of files changed in the worktree and view the diff for each file. With the Pane’s buttons, you can ask the Agent to commit or push, and pull updates from the server.

Use it when you want to check the changes the Agent made before you commit or push them.

Press the Changes button on the right side of the top of the screen to open the Changes Pane. Press it again to hide the Pane. The button’s tooltip shows the shortcut, such as “Open Changes (⌘⇧G)” and “Hide Changes (⌘⇧G)”.

  • The shortcut is ⌘⇧G (macOS) / Ctrl+Shift+G (Windows).
  • The button appears only for worktrees in a Git repository. For other worktrees, the button does not appear and the shortcut does not work.
  • When you open a Pane with a button or a shortcut, the Pane that was open closes.
  • Drag the left edge of the Pane to change its width.

Changed files are shown in a folder tree. Each file shows the number of added and deleted lines (such as “+7 -0”) and a status symbol. A folder row shows the total line counts of the files in it. The number of changed files appears next to “Changes” at the top of the Pane.

The status symbols are as follows.

  • M: A modified file
  • A: An added file
  • D: A deleted file
  • R: A renamed file
  • U: A new file that Git does not track

Press a folder row to collapse or expand it. Press “Reload” at the top of the Pane to get the list again.

The Changes Pane showing “3” changed files and, under the src folder tree, three files with line counts and the status symbols “M” and “U”

Press a file in the list to open the diff screen. “Before” appears on the left and “After” on the right, and added and deleted lines are colored. Press “Reload” on the diff screen to get the diff again, or “Close” to close it.

The diff screen for src/lib/approval.ts with “Before” on the left and “After” on the right, and the added lines shown in green

Press the “Commit” button at the top of the Pane to send /skill:git-commit-ja to the chat. The Agent commits the current changes.

You can press this button only when there are changes.

Press the “Push” button at the top of the Pane to send /skill:git-push-and-create-merge-request-ja to the chat. The Agent pushes the commits. If there is no PR / MR, one is created targeting main / master.

You can press this button only when there are no changes and there are commits that have not been pushed.

Press the “Pull updates” button at the top of the Pane to check the server for updates and pull them. Only fast-forward pulls are made. The result appears at the bottom of the Pane as “Updates pulled: <count>.” or “Already up to date.”

You cannot press the “Commit”, “Push”, and “Pull updates” buttons in the following cases.

  • While the Agent is running or starting
  • While the worktree is being removed
  • While the conversation is being compacted