Forum Discussion

SivaMani's avatar
SivaMani
Resident Rockstar
1 year ago
Solved

Git Integration - Commit Issue

Hello,

I am trying to commit my changes from the Fabric workspace (Notebooks, Data Pipelines, Flows) to the Git Repo. Getting the below error, couldn't find any solutions for the same.

 

  • SivaMani's avatar
    SivaMani
    1 year ago

    Anonymous Not yet. Will share the details when I have more. Thanks!

16 Replies

  • Hi SivaMani 

     

    The most common cause is that an item (e.g., a notebook or pipeline) with the same name and type exists both in your Fabric workspace and in the Git repository, but they are not properly linked or synced

     

     

     

    good discussion here

     

     


    https://www.reddit.com/r/MicrosoftFabric/comments/1l72okx/git_integration_commit_issue/

     

    Start by checking for duplicates, ensure all artifacts are synced, and use clean directories for new integrations. If problems persist, disconnect and reconnect your Git integration, or consider starting with a new branch or repo if feasible

     

     

  • Hi SivaMani ,

     

    This error usually means there’s already an item in your Git repo with the same name or type as what you’re trying to commit from Fabric. Even if you can’t see duplicates at first glance, sometimes things like notebooks or pipelines might be out of sync between Fabric and your repo.

    A couple of things worth trying:

    • Double-check that there aren’t any items with the same name both in your Fabric workspace and in the repo.
    • Make sure all changes are synced up before you try another commit.
    • If you’re still stuck, sometimes disconnecting and reconnecting the Git integration helps. You could also try committing your changes to a new branch if that’s an option.

    If nothing works, cleaning up any old or duplicate files before syncing can sometimes do the trick.

    Hope this helps! Let us know how it goes or if you need more help.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi SivaMani ,

    Thank you for reaching out to the Microsoft Fabric Community.

     

    As nilendraFabric  and burakkaragoz  correctly pointed out the root cause of the error typically lies in a naming conflict. Specifically, when an item with the same name and type already exists in the Git repository but is not properly linked or synchronized with your Fabric workspace. This results in a Git_GitProviderPathAlreadyExistsException.

     

    To resolve this, start by checking for any duplicate artifacts such as notebooks or pipelines in both Fabric and your Git repository. Ensure all items are properly synced before committing changes. If the conflict persists, consider renaming the artifact in Fabric or removing the conflicting file from Git. As a recovery step, you might also try disconnecting and reconnecting the Git integration or committing your changes to a new branch.

     

    For more detailed guidance, you can refer to the official documentation on Git integration: Get started with Git integration - Microsoft Fabric | Microsoft Learn

    Also refer to the documentation below for your understanding: Resolve conflicts with Git integration - Microsoft Fabric | Microsoft Learn

     

    Hope this helps. Please reach out for further assistance.

    If this post helps, then please consider to Accept as the solution to help the other members find it more quickly and a kudos would be appreciated.

     

    Thank you.

  • SivaMani Seems we indeed have a bug on the Fabric side. Thanks for helping us find it!
    We are fixing it now and hoping to get it released within few weeks. As a workaround, you might want to change the relevant directory name in Git (if its an item directory, it has no impact), I think that can be a potential workaround.

    • SivaMani's avatar
      SivaMani
      Resident Rockstar

      Thanks, Nirmod. Looking forward to the fix!

    • Adriansm's avatar
      Adriansm
      Frequent Visitor

      Hi

       

      Are there any updates on when this bug would be fixed? It's still happening, and we ended up having to resort to not using folders altogether, as this seems to be the root cause of the duplication issue.

      • Nimrod_Shalit's avatar
        Nimrod_Shalit
        Power BI Team

        What exactly are you experiencing?
        This error and bug is not related to Fabric workspace folders.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi SivaMani ,

    I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


    Thank you.

    • SivaMani's avatar
      SivaMani
      Resident Rockstar

      It is not resolved yet. I have created a support ticket (#2506110040002714) and am waiting for an Engineer to review it.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi SivaMani ,

         

        Thank you for the update, and I appreciate you informing us. Since you have already raised a support ticket and it's currently under review by the Microsoft Support team, you're in the best position to receive detailed assistance tailored to your environment. If a solution has been found, it would be greatly appreciated if you could share your insights with the community, as this would be helpful for other members who may encounter similar issues.

        If there's anything further, we can assist with from the community side, we'll be happy to help you.

         

        Thank you.

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI SivaMani ,

     

    We are following up once again regarding your query. Could you please confirm if the issue has been resolved through the support ticket with Microsoft?

    If the issue has been resolved, we kindly request you to share the resolution or key insights here to help others in the community. If we don’t hear back, we’ll go ahead and close this thread.

    Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread. We’ll be happy to help.

     

    Thank you.

     

    • SivaMani's avatar
      SivaMani
      Resident Rockstar

      Anonymous Not yet. Will share the details when I have more. Thanks!

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi SivaMani ,

        Thank you for the update. If a solution has been found, it would be greatly appreciated if you could share your insights with the community. This would be helpful for other members who may encounter similar issues.

         

        Thank you.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi SivaMani ,

     

    Could you please confirm if the issue has been resolved after raising a support case? If a solution has been found, it would be greatly appreciated if you could share your insights with the community. This would be helpful for other members who may encounter similar issues.

     

    Thank you for your understanding and assistance.