LibGit2Sharp.LibGit2SharpException

1
Hi Folks I am trying to open an application by clicking Edit in Mendix Studio Pro But while opening the application from the studio it is retrieving all files and getting the error below  LibGit2Sharp.LibGit2SharpException: repository path 'C:/Users/Documents/Mendix/APPNAME/.git/' is not owned by the current user  at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 155   I really appreciate any help you can provide.     
asked
1 answers
4

Go to your gitconfig file

 

C:\Program Files\git\etc\gitconfig file (if git is installed) 

or C:\ProgramData\Git\config (if git is not installed)

 

add the following:

[safe]
    directory = *

answered