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:ย 

Pushing a notebook with outputs to Github

2nonto
New Contributor

I am experiencing an error when trying to commit output and Databricks notebook to GitHub. The error message states, "Error creating or updating commit outputs config file."

Screenshot 2026-11-11 214121.png

Could you please assist me in resolving this issue?

2 REPLIES 2

Yougasundar
Contributor

Hi @2nonto,

That message comes from the step that creates the .databricks/commit_outputs file, which controls whether the outputs of .ipynb notebooks are committed. Please check these points in order. 1) Committing outputs is off by default. A workspace admin must open Settings > Workspace admin > Development and, in the Repos section, set "Allow repos to export IPYNB output" to "Allow: IPYNB outputs can be toggled on". 2) The notebook must be in IPYNB format and inside a Git folder, because only IPYNB notebooks can carry outputs. You can convert it with File > Notebook format > Jupyter (.ipynb). 3) Then create the file again from the Git dialog with "Create commit_outputs config file", or with File > Commit notebook outputs > Include Outputs. 4) The file is created inside your Git folder, so also check that you can edit that folder. If it still fails after these checks, please share the full error text and tell us if the admin setting is on.

 

Docs: https://docs.databricks.com/aws/en/notebooks/notebook-format

saurabh18cs
Honored Contributor III

Hi @2nonto then also good to check following :

 

saurabh18cs_0-1794928643538.png