Forum Discussion

Imran_GJ's avatar
Imran_GJ
New Member
1 year ago
Solved

Microsoft Fabric + Github Integration

I have connected Git to my Fabric workspace. When I add a notebook via the Fabric UI, it appears and syncs automatically. However, if I clone the repository to my desktop and add a .py (Python) or .ipynb (Python Notebook) file—then stage, commit, and push the change—Microsoft Fabric does not reflect the update, even though the repository is connected.

I can confirm that the push was successful, as the new file appears in the repository on GitHub.com. Does Fabric only sync changes made within its own UI, or is there a way to pull in external Git commits?

  • Hi Imran_GJ 

    Currently, Fabric's Git integration primarily supports syncing changes from the Fabric workspace to the connected Git repository. It does not automatically pull in changes made directly to the Git repository from external sources like a local clone or GitHub.com.

     

    • When you create or edit notebooks within Fabric, those changes are synced and pushed to the connected repo automatically. However, the sync is one-directional (Fabric → Git), not Git → Fabric at this time.
    • Manually re-create or import the file within Fabric’s interface. Alternately you can try copy-pasting content from your .py or .ipynb file into a new notebook created in Fabric.
    • Fabric will then sync this new notebook to the Git repository.

    Reference : https://learn.microsoft.com/en-us/fabric/cicd/git-integration/git-integration-process?tabs=Azure%2Cazure-devops#connect-and-sync

    Hope this helps!!

    If this post was helpful, please consider marking Accept as solution to assist other members in finding it more easily.

    If you continue to face issues, feel free to reach out to us for further assistance!

    Regards,
    atheeq.



4 Replies

  • v-aatheeque's avatar
    v-aatheeque
    Community Support

    Hi Imran_GJ 

    Currently, Fabric's Git integration primarily supports syncing changes from the Fabric workspace to the connected Git repository. It does not automatically pull in changes made directly to the Git repository from external sources like a local clone or GitHub.com.

     

    • When you create or edit notebooks within Fabric, those changes are synced and pushed to the connected repo automatically. However, the sync is one-directional (Fabric → Git), not Git → Fabric at this time.
    • Manually re-create or import the file within Fabric’s interface. Alternately you can try copy-pasting content from your .py or .ipynb file into a new notebook created in Fabric.
    • Fabric will then sync this new notebook to the Git repository.

    Reference : https://learn.microsoft.com/en-us/fabric/cicd/git-integration/git-integration-process?tabs=Azure%2Cazure-devops#connect-and-sync

    Hope this helps!!

    If this post was helpful, please consider marking Accept as solution to assist other members in finding it more easily.

    If you continue to face issues, feel free to reach out to us for further assistance!

    Regards,
    atheeq.



    • v-aatheeque's avatar
      v-aatheeque
      Community Support

      Hi Imran_GJ ,

      I just wanted to follow up on the issue you reported with Git integration in Fabric

      To recap: Fabric's Git integration is currently one-way only (Fabric → Git). It syncs changes you make inside the Fabric workspace to your repository but does not automatically pull in external commits If this resolves your issue, please consider marking it as the Accepted Answer it helps others in the community quickly find the solution.

      And if you’d like help with importing your file or establishing a smoother process, just let us know we’re happy to assist!

      Regards,
      atheeq.

      • v-aatheeque's avatar
        v-aatheeque
        Community Support

        Hi Imran_GJ 

        If the response helped resolve your issue related to Github integration, it would be greatly appreciated if you could mark it as the Accepted Answer — doing so helps others in the community who may be facing a similar challenge.

        If you still have questions or need further assistance, feel free to share more details — we’re always here to support you.

        Thanks again for being an active part of the Microsoft Fabric Community!