But, even if I do the ‘git config --global --add …git’ it is still the same result (I removed it and tried the whole process again to verify).
BTW, what can I do about this error?
Every time I’m trying to clone from this local server, I’m getting this error (is shown on every clone from this server for any user [most of the times, when doing the --add … it is resolved, but it does not look right to me: exec --add for every user in every computer for any repository in my network] – I guess it is something I’ve missed when initial configuration made).
Ahh its the git safety mechanism.
The simplest way is change who owns the repository directory (in fact the entire gitea parent) to the user that gitea runs as.