HTTPS Authorization
Learn how to clone the repository using HTTPS.
On your local machine's command line, change the working directory location to where you want
to clone the repository, and run the git clone
command with the HTTPS URL you
copied.
For example, git clone
https://devops.scmservice.us-ashburn-1.oci.oraclecloud.com/namespaces/MY-TENANCY/projects/PROJECT-NAME/repositories/REPO-NAME
You must provide your username (with tenancy, optional federated identity and username) and password (auth token) when prompted.
For a federated user, enter the username in the following
format: TenancyName/Federation/UserName
. For example, if you use OCI's
identity provider, your login would be,
Acme/oracleidentitycloudservice/alice.jones@acme.com
.
If you are using OCI's direct sign-in, enter the username in the following format:
TenancyName/YourUserName
. For example, Acme/alice_jones
.
Your password is the auth token you created previously.