Deploy code from the Astro IDE to Git

Private Preview
This feature is in Private Preview.

The Astro IDE provides an integrated workflow for reviewing, committing, and deploying Airflow dag changes directly to a connected GitHub repository. You can also deploy Airflow dag changes to Git without GitHub.

Review, commit, and push changes with Github

The Astro IDE allows you to review, accept, and commit code updates directly to a connected GitHub 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 GitHub branch

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

Working without GitHub integration

Astro IDE supports Git versioned projects that are not connected to GitHub. This is useful for users who work with GitLab, Bitbucket, GitHub Enterprise, or other Git hosting platforms.

If your project is not connected to GitHub:

  1. Import your code into Astro IDE using the Astro CLI import workflow.
  2. Click Save Version to create a snapshot of your code.
  3. To pull your Astro IDE project changes into your local CLI project, you can either download or copy your updated code from Astro IDE, or run astro ide project import in your local environment to fetch the latest version from the IDE.
  4. Commit and push your changes to your own branch using your organization’s preferred Git provider or workflow.

Support for direct integration with GitLab, Bitbucket, and GitHub Enterprise is coming soon.