Home > Net >  fatal: unsafe repository ('/azerothcore' is owned by someone else)
fatal: unsafe repository ('/azerothcore' is owned by someone else)

Time:05-08

fatal: unsafe repository ('/azerothcore' is owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory /azerothcore
--
    Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
    Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"

I'm on Windows 10, docker desktop with git --version 2.36 on the latest master AC branch (07.05)

Cannot even check current hash Picture

I've tried everything that is suggested in the related threads. Even disabling that safety function by having [safe] directory = * (I'm the only user so it doesn't really matter) in my .gitconfig does not solve this issue.

Edit: I use docker to compile and this pops every time I compile, and no, it started showing after the git security update recently.

CodePudding user response:

This probably isn't the best way to do it, but I just modified apps\docker\docker-build-prod.sh to add git config --global --add safe.directory /azerothcore before calling bash acore.sh compiler build

  • Related