Skip to content

PR Workflow

This guide walks through the complete Autogit workflow: starting from a GitHub issue, making commits, and submitting a pull request—all from the terminal.

Press 6 to open the Draft PR popup.

  1. Enter a GitHub issue number (e.g., 123)
  2. Autogit fetches the issue title and generates a branch name
  3. Optionally toggle “Assign to me” with Ctrl+a
  4. Confirm to create the branch and draft PR

What happens:

  • Creates a branch like 42-add-dark-mode-support
  • Pushes the branch to origin
  • Opens a draft PR linked to the issue

After making code changes, stage your files and press 7 to open AI Commit.

  1. Autogit analyzes your diff
  2. AI generates a commit message based on your changes
  3. Review and edit if needed

Toggle p to auto-push after committing.

Repeat this step for each logical chunk of work.

When ready to finalize, press 8 to submit your PR.

Submit PR handles everything in one step:

  1. Stages and commits any uncommitted changes (using AI commit message)
  2. Pushes to the remote
  3. Updates the PR body with an AI-generated summary
  4. Marks the PR as ready for review

Reviewers are notified automatically.

ActionKey
Draft PR (branch + PR from issue)6
AI Commit7
Submit PR8
Toggle auto-pushp (in commit popup)