I've seen some people talking about the latest versions of Git CLI where Git added some security vulnerability stuff, and this is causing some errors while using Git commands inside my projects.
VS Code is not recognizing any project repo, and i can't use any commands on my terminal. When I try to initialize a GH Repository directly from VSCode, it doesn't show me the projects files status and just freeze in the same window.
What I've encountered is that using "sudo" permissions before any GH commands I can do everything, but it didn't use to be like that.
Git error:
git status
fatal: unsafe repository ('/mnt/56A68A59A68A398F/Gabriel/Projetos/prisma-typescript' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /mnt/56A68A59A68A398F/Gabriel/Projetos/prisma-typescript
I need some help to set my whole projects folder as a safe repository, or in some way disable this safety checking.
NOTE: I had put dual boot recently, and I'm not really sure if this is some kind of filesystem error.
OS: Ubuntu 20.04
Git: 2.25.1
VS Code: 1.66.2 \