cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

how to git integration multiple gitlab repo

CE
New Contributor II

I have 3 GitLab repos in my Databricks workspace.

CE_1-1727339329608.png

I have also generated personal tokens for these 3 repos. However, it seems that Databricks can only use one repo token at a time for Git integration.
For example: I am currently using the token for repo A in Git integration. But whenever I want to switch to repo B to do a push/pull, an error occurs: "Invalid Git provider credentials," which prevents me from performing any push/pull operations on repo B.

CE_3-1727339430317.png

CE_4-1727339467488.png

 

Is there any way to allow Databricks to use multiple repo tokens simultaneously?

2 REPLIES 2

nicole_lu_PM
Databricks Employee
Databricks Employee

Unfortunately this is expected behavior. We only support 1 Git credential at a time per user in the workspace. We are adding a sample notebook in this section to help you swap Git credentials more easily. 

https://docs.databricks.com/en/repos/repos-setup.html#add-or-edit-git-credentials-in-databricks

 

CE
New Contributor II

Yes, currently I swap Git credentials as you mentioned.

CE_0-1727743466807.png

However, I still find it inconvenient. I hope in the future there will be a feature to use multiple repos. Thank you.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group