Forum Discussion

jaryszek's avatar
jaryszek
Super User
1 year ago
Solved

bpip changes in git

Hello Guys,

how you are handling bpip local changes ? 


You are ignoring them in gitignore?

Best,
Jacek

 

  • Hi jaryszek ,

     

    Yes, changes to .pbip local files like localSettings.json and cache.abf are typically ignored using a .gitignore file. These files are generated locally by Power BI during development and often contain environment-specific or non-critical metadata , which doesn't need to be tracked in version control.

    To handle them properly:

    Add to .gitignore:

    *.pbip/localSettings.json
    *.pbip/cache.abf

    Or, if you want to ignore all .pbip internal files:

    *.pbip/*

    Note: This keeps your Git repo clean and focused on essential files (like the actual report content, model definitions, and metadata).

     

    If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.

    Thank you

5 Replies

  • Deku's avatar
    Deku
    Super User

    Ignore, that is what the default .gitignore added by pbip does

    • jaryszek's avatar
      jaryszek
      Super User

      thanks but it didnt add by defaut for me. It is still there. 

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

    Hi jaryszek ,

    Thank you for reaching out to the Microsoft Community Forum.

     

    No, the bpip local changes are not being ignored via .gitignore—they are being tracked by Git and are currently unstaged.

     

    If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.

    Thank you

     

    • jaryszek's avatar
      jaryszek
      Super User

      Hi,

      "No, the bpip local changes are not being ignored via .gitignore—they are being tracked by Git and are currently unstaged."

      so if i addthem to gitIgnore they will not be shown as unstaged ones?

      Best,
      Jacek

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

        Hi jaryszek ,

         

        Yes, changes to .pbip local files like localSettings.json and cache.abf are typically ignored using a .gitignore file. These files are generated locally by Power BI during development and often contain environment-specific or non-critical metadata , which doesn't need to be tracked in version control.

        To handle them properly:

        Add to .gitignore:

        *.pbip/localSettings.json
        *.pbip/cache.abf

        Or, if you want to ignore all .pbip internal files:

        *.pbip/*

        Note: This keeps your Git repo clean and focused on essential files (like the actual report content, model definitions, and metadata).

         

        If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.

        Thank you