![]() It’s nice to have the solution built in with the error message, but what does it mean, and why does it happen? And what are all the numbers in the user name? ![]() fatal: detected dubious ownership in repository at 'C:/Users/abc/Projects/my-awesome-project' 'C:/Users/abc/Projects/my-awesome-project' is owned by: 'S-1-5-32-544' but the current user is: 'S-1-12-1-1347659835-1128888854-2982737882-1111120199' To add an exception for this directory, call: git config -global -add safe.directory C:/Users/abc/Projects/my-awesome-project And if we put our git repository in this folder, you might get the following error message when you perform any git operations, like git status. ![]() For example, in Windows, if our username is abc, we have a folder in C:\Users, named C:\Users\abc for all of user abc’s files. When working in the corporate environment, we usually have a designated user space for each authenticated user on our computer.
0 Comments
Leave a Reply. |