Skip to main content
Connecting an Environment to a Git Branch
Support avatar
Written by Support
Updated over 3 months ago

To connect an environment to a Git branch, follow these steps:

  1. Navigate to the Environment Settings

  2. Go to the ‘Version Control’ Section

  3. Click on ‘Connect Git’

  4. Define Your Git Usage:

  5. Authenticate with your Git provider

    1. If automatic push is enabled, you will be promoted to authenticate with shared Git credentials. These shared credentials will be used for pushing environment changes detected in fetch operations. Upon any other git operations such as creating, updating and merging a pull request, the user will be prompted to authenticate with his personal Git credentials.

    2. For the other push modes, you will be prompted to authenticate with your personal Git credentials.

  6. Select a repository and click ‘Next’

  7. Select or Create a branch and click ‘Select/Create Branch and Link’

👍🏻 Your environment is now connected to a Git branch. A Git widget will appear in the environment header, allowing you to navigate to the branch in your Git provider and manually push files in case auto push mode is not enabled.

Supported Git Providers

Go to the specific Git provider help article to learn more about connecting to it.

Native Git integration does not support attaching pull requests with deployments records.

Did this answer your question?