Maybe you do not have to commit it, since it is ignored according to default .gitignore file, generated by Visual Studio.
JFM seems to getting locked mutually exclusive
This is the follow-up query on (https://learn.microsoft.com/en-us/answers/questions/341970/what-are-jfm-mdl-files-in-visual-studio-database-p.html?childToView=342039#answer-342039) helped by @Vaibhav Chaudhari
Additionally I also observe that when the database project is open this JFM remains undelete-able. When trying to commit them too it git gives a permission denied error because it seems to get locked exclusively.
Is there a way to change this setting?
3 answers
Sort by: Most helpful
-
-
Tom Phillips 17,716 Reputation points
2021-04-02T15:58:01.873+00:00 You should be ignoring JFM files.
-
CathyJi-MSFT 21,096 Reputation points Microsoft Vendor
2021-04-05T09:54:01.7+00:00 Hi @Deepak Vasudevan ,
Please try below steps.
•Add *.jfm as a line to the local .gitignore
•Close the solution (but stay connected in Team Explorer)
•Delete the .jfm file in file explorer
•Commit the .jfm deletion and the .gitignore edit
•Reopen the solution and rebuild
•Should see that there are no .jfm changesQuote from this thread Visual Studio ignores *.jfm entry in the gitIgnore file.
Please also check if this thread Visual Studio 2015 Database Project directory contains a file with extension jfm could help you.
If the response is helpful, please click "Accept Answer" and upvote it, thank you.