Deploy code from the Astro IDE to Git

Public Preview
This feature is in Public Preview.

The Astro IDE provides an integrated workflow for reviewing, committing, and deploying Airflow dag changes directly to a connected Git repository.

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

1

Review and accept changes

  1. Review the suggested code changes directly in the code view and evaluate the AI’s suggestions and reasoning, visible in the left panel.
  2. Accept or reject each proposed change using the Accept or Reject button.
2

Prepare your commit

  1. After accepting changes, click Commit changes… in the toolbar.
  2. 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.
  3. Review the list of staged changes and confirm or switch the branch you are committing to.

There are two ways to create a new branch for your commits in Astro IDE:

  • Click the branch selector dropdown in the toolbar. In the input field that appears, type a new branch name and select the option to create a new branch from your current branch. Click Create Branch.
  • In the commit dialog, click the Edit branch button next to the branch name. Enter your new branch name, then click Commit and push.

Both methods allow you to isolate your changes in a new branch.

3

Commit and push to your Git branch

  1. Click Commit and push to sync your changes with the selected branch in your remote Git repository.
  2. Confirm the commit in Git. Your message and all accepted changes appear in the repository history.