You are viewing documentation for an older version.
Supported Git URLs
less than a minute
This section is applicable for Profiles CLI project.
To know about the supported Git URLs in the RudderStack dashboard, see the Import from Git guide.
Profiles supports Git URLs for packages in the ssh://git@host:port/path.git format.
For private repos, RudderStack only supports SSH Git URLs. You need to add credentials to the siteconfig.yaml and public SSH key manually to the platforms.
The URL scheme doesn’t depend on individual Git provider host. You can use the below-mentioned Git URLs:
| URL Syntax | Format (Example) | |
|---|---|---|
| URL for the default branch of a repository | https://<provider-host>/<org-name>/<repo-name>/path/to/project | Github: https://github.com/rudderlabs/librs360-shopify-features/shopify-featuresGitlab: https://gitlab.com/rudderlabs/librs360-shopify-features/shopify-featuresBitbucket: https://bitbucket.org/rudderlabs/librs360-shopify-features/shopify-features |
| SSH URL for the default branch of a private repository | git@<provider-host>:<org-name>/<repo-name>/path/to/project | Github: git@github.com:rudderlabs/librs360-shopify-features/shopify-featuresGitlab: git@gitlab.com:rudderlabs/librs360-shopify-features/shopify-featuresBitbucket: git@gbitbucket.org:rudderlabs/librs360-shopify-features/shopify-featuresAzure DevOps: git@ssh.dev.azure.com:v3/rudderlabs/profiles-project/librs360-shopify-features |
| URL for a specific branch of a repository | https://<provider-host>/<org-name>/<repo-name>/tree/<branch-name>/path/to/project | Github: https://github.com/rudderlabs/librs360-shopify-features/tree/main/shopify-featuresGitlab: https://gitlab.com/rudderlabs/librs360-shopify-features/tree/main/shopify-featuresBitbucket: https://bitbucket.org/rudderlabs/librs360-shopify-features/tree/main/shopify-features |
| URL for a specific tag within the repository | https://<provider-host>/<org-name>/<repo-name>/tag/<tag-name>/path/to/project | Github: https://github.com/rudderlabs/librs360-shopify-features/tag/wht_test/shopify-featuresGitlab: https://gitlab.com/rudderlabs/librs360-shopify-features/tag/wht_test/shopify-featuresBitbucket: https://bitbucket.org/rudderlabs/librs360-shopify-features/tag/wht_test/shopify-features |
| URL for a specific commit within the repository | https://<provider-host>/<org-name>/<repo-name>/commit/<commit-hash>/path/to/project | Github: https://github.com/rudderlabs/librs360-shopify-features/commit/b8d49/shopify-featuresGitlab: https://gitlab.com/rudderlabs/librs360-shopify-features/commit/b8d49/shopify-featuresBitbucket: https://bitbucket.org/rudderlabs/librs360-shopify-features/commit/b8d49/shopify-features |