DevOps Git clone
Access Governance
Analytics Cloud
Anomaly Detection
API Gateway
Application Dependency Management
Application Performance Monitoring
Archive Storage
Artifact Registry
Audit
Automated CEMLI Execution
Bastion
Big Data Service
Billing and Cost Management
Block Volume
Blockchain Platform
New Cache with Redis
Certificates
Classic Migration
Cloud Advisor
Cloud Guard
Cloud Shell
Compartment Quotas
Compliance Documents
Compute
Compute Cloud@Customer
Connector Hub
Console Dashboards
Container Engine
Container Instances
Container Registry
Content Management
Data Catalog
Data Flow
Data Integration
Data Labeling
Data Safe
Data Science
Data Transfer
Database
Database Management
Database Migration
Database Tools
DevOps
Overview
Getting Started
DevOps Projects
Environments
Artifacts
Code Repositories
Creating a Repository
Access Control Using IP Address
Viewing Code Repository Details
Creating an External Connection
Accessing Self-Hosted Repositories
Validating an External Connection
Editing an External Connection
Deleting an External Connection
Mirroring a Repository
Synchronizing a Mirrored Repository
Cloning a Repository
SSH Authorization
HTTPS Authorization
Editing a Repository
Deleting a Repository
Build Pipelines
Deployment Pipelines
Parameters
Logs
Events
Metrics
IAM Policies
Troubleshooting
Known Issues
Reference
Digital Assistant
Disaster Recovery
DNS and Traffic Management
Document Understanding
Email Delivery
Events
File Storage
Functions
Fusion Analytics Warehouse
Generative AI (Beta)
GoldenGate
Health Checks
IAM with Identity Domains
IAM without Identity Domains
Integration 3
Integration Generation 2
Java Management
Language
Load Balancer
Logging
Logging Analytics
Managed Access
Managed Cloud Self Service Platform
Management Agent
Management Dashboard
Marketplace
Media Services
Monitoring
MySQL Heatwave
Network Firewall
Network Load Balancer
Networking
NoSQL Database
Notifications
Object Storage
OCI Control Center
New OCI Database with PostgreSQL
Operations Insights
Oracle APEX Application Development
Oracle Cloud Marketplace
Oracle Cloud Migrations
Oracle Linux
OS Management
OS Management Hub
Partner Portal
Oracle Cloud Marketplace Territory and Export Compliance Policy
Process Automation
New Publisher
Pulse
Queue
Resource Manager
Roving Edge Infrastructure
Search
Search with OpenSearch
Secure Desktops
Security Advisor
Security Zones
Service Catalog
Service Mesh
Speech
Stack Monitoring
Storage Gateway
Streaming
Tagging
Threat Intelligence
Vault
Vision
Visual Builder
Visual Builder Studio
VMware Solution
Vulnerability Scanning
Web Application Acceleration
Web Application Firewall
Developer Resources
Security
More Resources
Glossary
Oracle Cloud Console
Skip to main content
Cloning a Repository

You can clone the code repository to create a local copy on your computer, add or remove files, commit changes, and work on different branches by using Git operations.

Before you clone a code repository, you must have a code repository or a mirrored repository associated with a DevOps project.

You can use two methods to clone and use your repository: HTTPS and SSH Authorization.

If you have set up an API signing key (private/public key pair), you can use SSH authentication to clone your code repository. For details on how to create and manage the keys associated with a user, see the documentation on API signing keys.

For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.

To clone the repository using the Console, follow these steps:

Open the navigation menu and click Developer Services. Under DevOps, click Projects.
Select a project and from the left-side menu, click Code Repositories.
Click the Actions menu to the right of the repository that you want to clone and select Clone.
Use one of the following methods:
SSH - To clone the repository by using SSH, see SSH Authorization.
HTTPS - To clone the repository by using HTTPS, see HTTPS Authorization.

The repository is cloned and your credentials are stored for future use.

After cloning the repository you can work on the files locally and commit your changes using Git operations.