danger

You are viewing documentation for an older version.

Click here to view the latest documentation.

Git URLs

Supported Git URLs in Profiles

info
This section is applicable for Profiles CLI project. To know about the supported Git URLs in the RudderStack dashboard, refer the Import from Git section.

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 SyntaxFormat (Example)
URL for the default branch of a repositoryhttps://<provider-host>/<org-name>/<repo-name>/path/to/projectGithub: https://github.com/rudderlabs/librs360-shopify-features/shopify-features

Gitlab: https://gitlab.com/rudderlabs/librs360-shopify-features/shopify-features

Bitbucket:https://bitbucket.org/rudderlabs/librs360-shopify-features/shopify-features
SSH URL for the default branch of a private repositorygit@<provider-host>:<org-name>/<repo-name>/path/to/projectGithub: git@github.com:rudderlabs/librs360-shopify-features/shopify-features

Gitlab: git@gitlab.com:rudderlabs/librs360-shopify-features/shopify-features

Bitbucket:git@gbitbucket.org:rudderlabs/librs360-shopify-features/shopify-features
URL for a specific branch of a repositoryhttps://<provider-host>/<org-name>/<repo-name>/tree/<branch-name>/path/to/projectGithub: https://github.com/rudderlabs/librs360-shopify-features/tree/main/shopify-features

Gitlab: https://gitlab.com/rudderlabs/librs360-shopify-features/tree/main/shopify-features

Bitbucket:https://bitbucket.org/rudderlabs/librs360-shopify-features/tree/main/shopify-features
URL for a specific tag within the repositoryhttps://<provider-host>/<org-name>/<repo-name>/tag/<tag-name>/path/to/projectGithub: https://github.com/rudderlabs/librs360-shopify-features/tag/wht_test/shopify-features

Gitlab: https://gitlab.com/rudderlabs/librs360-shopify-features/tag/wht_test/shopify-features

Bitbucket:https://bitbucket.org/rudderlabs/librs360-shopify-features/tag/wht_test/shopify-features
URL for a specific commit within the repositoryhttps://<provider-host>/<org-name>/<repo-name>/commit/<commit-hash>/path/to/projectGithub: https://github.com/rudderlabs/librs360-shopify-features/commit/b8d49/shopify-features

Gitlab: https://gitlab.com/rudderlabs/librs360-shopify-features/commit/b8d49/shopify-features

Bitbucket:https://bitbucket.org/rudderlabs/librs360-shopify-features/commit/b8d49/shopify-features

Questions? Contact us by email or on Slack