cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
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.

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