cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Lost untracked and gitignore files when push new commit

valentino
New Contributor II

Hi guys, our team uses Databricks clusters to develop with Python using Jupyter Notebooks.

Recently we had a serious problem in our repos folder ( mainly Jupyter Notebook and Python scripts ).
After my teammate committed in the branch, all the tracked files were restored to the version which I believe is from the last commit ( which was a long time ago ), untracked files and .gitignore files disappeared,
When we check the files in the repos folder, all the version history has disappeared. Only 1 version is that morning after the commit.
Before this, we already had this problem, but we only lost the text files (CSV, JSON, ...) which also .gitignore files.
Does anyone have this problem before and know what the reason is, our team can't figure out the cause. We tried to re-produce the problem but it didn't happen on purpose.
3 REPLIES 3

nicole_lu_PM
Databricks Employee
Databricks Employee

Hi from the Git folder/Repos PM: 

all the tracked files were restored to the version which I believe is from the last commit ( which was a long time ago ), untracked files and .gitignore files disappeared,

This sounds unexpected. If you have a support subscription, we'd love to have our support engineers check the log to find out what happened. 

Hi,

I didn't receive a response from your team in the email support after sent them the info about my workspace and repo URLs.

Could you check about that?

valentino
New Contributor II

Yes we have a subscription. Please tell me which information you need to check. I want to dive in this problem. If possible, pls contact through my email.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now