Explanation
In Databricks Repos, you can perform most Git operations directly within the platform, including:
- Commit: You can commit changes to your local repository
- Pull: You can pull updates from the remote repository
- Push: You can push changes to the remote repository
- Merge: You can merge branches within Databricks Repos
However, Clone is the operation that must be performed outside of Databricks Repos because:
- Initial Setup: To connect a Databricks Repo to a Git repository, you first need to clone the repository using external Git tools or the Databricks CLI
- Repo Creation: When creating a new Repo in Databricks, you specify the Git repository URL, and Databricks handles the cloning internally during setup
- External Requirement: The initial cloning operation is typically done using Git CLI, GitHub Desktop, or other Git clients before connecting to Databricks Repos
Databricks Repos is designed to work with existing Git repositories that have already been cloned or created elsewhere. Once connected, you can perform all other Git operations within the Databricks environment.