Assuming we have a database project called MyDatabase
then a file called MyDatabase.jfm
appears in the root of the project directory.
This is an issue caused by the ESENT engine relied on by SQL Projects adding in a new file. This is a new feature in Windows 10 Anniversary Edition to avoid data loss, but the fact SQL Projects store the .dbmdl cache file under the project root means this locked file is added to the Git source control.
Notes:
Disclosure: I work on the SSDT team for Microsoft.
The takeaway from others is...
*.jfm
to your .gitignore
(In powershell, Add-Content .\.gitignore *.jfm
)
git rm --cached *.jfm