PreviewThis feature is in Preview.
Review, commit, and push changes with Git
The Astro IDE allows you to review, accept, and commit code updates directly to a connected Git repository.Prerequisites
- An Astro IDE project connected to a Git provider:
- Imported from GitHub using the Astro GitHub integration, or
- Manually imported from any Git provider.
1
Review and accept changes
- Review the suggested code changes directly in the code view and evaluate the AI’s suggestions and reasoning, visible in the left panel.
- Accept or reject each proposed change using the Accept or Reject button.
2
Prepare your commit
- After accepting changes, click Commit changes… in the toolbar.
- In the commit dialog, you can enter a commit message manually, or click the wand icon to generate an AI summary. You can edit the AI-generated message before saving.
- Review the list of staged changes and confirm or switch the branch you are committing to.
3
Commit and push to your Git branch
- Click Commit and push to sync your changes with the selected branch in your remote Git repository.
- Confirm the commit in Git. Your message and all accepted changes appear in the repository history.