Creating a Git repository in Cloudera Data Engineering using the CLI

Learn how to create a Git repository in Cloudera Data Engineering using the CLI with the supported Git providers, including GitHub, GitLab, and Bitbucket.

For information on limitations and on how to create credentials, see Creating a Git repository in Cloudera Data Engineering.

Using the CDE CLI, run the following command:
cde repository create --name [***REPOSITORY-NAME***] --url [***REPOSITORY-URL***] --branch [***BRANCH-NAME***] --insecure-skip-tls --credential [***USER-CREDENTIAL***]

Provide the values for the following parameters:

--name
The repository name.
--url
The repository URL.
--branch
The branch name.
--insecure-skip-tls
Optional parameter. Use this parameter if the server uses a self-signed CA certificate that Cloudera Data Engineering does not trust. This allows Cloudera Data Engineering to skip the security check and clone the repository.
--credential
If the repository does not require credentials, then this parameter is optional. For information on how to create credentials, see Creating a Git repository in Cloudera Data Engineering.