Enable or disable Databricks Git folders
Databricks Git folders are enabled by default for new workspaces. Workspace admins can enable or disable this feature using a notebook or the Databricks CLI.
Use a notebook to enable or disable Git folders
To enable Git folders, import and run the following notebook in your workspace:
Enable a Databricks Git folder
Use the Databricks CLI to enable or disable Git folders
To enable Git folders:
Bash
databricks workspace-conf set-status --json '{"enableProjectTypeInWorkspace": "true"}'
To disable Git folders:
Bash
databricks workspace-conf set-status --json '{"enableProjectTypeInWorkspace": "false"}'