Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
p_da
Helper I
Helper I

Git integration

Hello Fabricators,

I am currently setting up a Fabric workspace with git integration. I am not a expert in git, so I have a question. Is it possible to add to the .gitignore file certains artifacts that I want to not commit ? For example, I have a dev workspace where I will have some test artifacts, what I want is, when commiting the changes in the workspace, I want to avoid those test artifacts to be cmommited. 

 

Thanks

1 ACCEPTED SOLUTION
KevinChant
Most Valuable Professional
Most Valuable Professional

I did a post that went into detail about Git integration a while back that covers it, I hope it helps.

 

https://www.kevinrchant.com/2024/10/30/fabricators-guide-to-version-control-in-microsoft-fabric/ 

View solution in original post

8 REPLIES 8
v-nmadadi-msft
Community Support
Community Support

Hi @MattSB 

I wanted to confirm if the solutions provided were helpful and resolved your concerns. If you have any further questions or issues, please feel free to reach out to us, also if this post helps, then please consider "Accept it as a solution" to help the other members find it more quickly.

 


Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @p_da 

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 the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

KevinChant
Most Valuable Professional
Most Valuable Professional

My advice tends to be to ignore the .gitgnore. For your scenario, I would recommend looking to use the branch out to new workspace feature to create Feature branches/workspaces and then do a pull request for only the items you want to commit back to your Dev workspace instead.

 

I hope this helps?

Thanks. As I'm new to git, I will figure it out how the checkout works. But thanks for the suggestion 

KevinChant
Most Valuable Professional
Most Valuable Professional

I did a post that went into detail about Git integration a while back that covers it, I hope it helps.

 

https://www.kevinrchant.com/2024/10/30/fabricators-guide-to-version-control-in-microsoft-fabric/ 

v-nmadadi-msft
Community Support
Community Support

Hi @p_da ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @p_da  ,
Thanks for reaching out to the Microsoft fabric community forum.

By setting up the .gitignore file correctly, you can avoid committing unnecessary test artifacts while continuing to manage the rest of your workspace efficiently.
But please check out deployment pipelines this may be more suited for your use case.
Overview of Fabric deployment pipelines - Microsoft Fabric | Microsoft Learn
Follow the below link to selectively deploy content to different stage
Fabric Application lifecycle management (ALM) deployment pipelines deploy content - Microsoft Fabric...
some further reading on deployment pipeline
The Microsoft Fabric deployment pipelines process - Microsoft Fabric | Microsoft Learn

 

Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to give "Kudos"

Thanks and Regards

Thanks. It seems that the .gitignore file do not work in Microsoft Fabric. Even setting it up, it do not take effect in Microsoft Fabric

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!