Resource-Level Git Setup
Instructions for enterprise developers on connecting newly created resources to dedicated repositories within Amplication.
When creating a new resource, Amplication automatically associates it with your workspace’s default Git repository. However, you can customize this association both during resource creation and at any point afterward through the resource settings.
This flexibility allows you to maintain different repositories for different resources, supporting various organizational structures and development workflows.
To learn more about how Amplication manages Git synchronization, visit our Smart Git Sync guide.
How to Update Git Settings
Navigate to Your Resource
Locate your resource in the Workspace Catalog using the available filters and search functionality.
Access Git Settings
Select the “Git Settings” tab in the resource’s settings page.
Override Project Settings
Click “Override Project Settings” to customize the Git configuration for this specific resource, independent of workspace-level defaults.
Select Git Repository
Choose an existing repository or create a new one:
- To use an existing repository, select it from the dropdown list (navigate to the last page to see recently updated repositories)
- To create a new repository, click “Create New Repository” and configure its visibility and name
Configure Base Branch
Optionally update the base branch (default is usually main
) to specify where pull requests should be targeted.
Next Steps
Explore Smart Git Sync
Learn about our supported Git providers and how Amplication’s Smart Git Sync ensures consistent code management across your organization.
Was this page helpful?