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 .i...
  • v-aatheeque's avatar
    1 year ago

    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.