Skip to main content
DinoAI works inside Git Lite, the default Git panel in the Code IDE. It writes your commit messages and opens your pull requests, so you go from a change to a pull request without leaving the editor.

Write a commit message

  1. Make your changes. In the Git Lite panel, keep the files you want to commit selected in the Changes list.
  2. Click Write commit. DinoAI reads the selected files and drafts a message in the Commit message… box.
  3. Edit the message, or click Write commit again for a new draft.
  4. Click Ship it to commit, push, and open the pull request page. To commit and push only, click the arrow next to Ship it, then Commit & Push.
You can also skip Write commit. When the message box is empty, Ship it asks DinoAI for the message first.
Write commit shows when DinoAI is available in your workspace.

Open a pull request

When your branch has commits that aren’t on your default branch, Draft PR with DinoAI shows at the top of the Git Lite panel.
  1. Click Draft PR with DinoAI. The DinoAI panel opens with a prompt to open a pull request from your branch into your default branch, with your branch’s changes attached.
  2. Send the prompt. DinoAI opens the pull request with a title and a description that covers a summary of the changes, the motivation, and how to test them.
DinoAI opens pull requests with its GitHub PR management tool, which needs the GitHub integration. To have DinoAI write only the description, see Generate pull request descriptions.
For the whole flow, from a new branch to an open pull request, see Use Git Lite.