Forum

GIT: fatal: unsafe ...
 
Notifications
Clear all

GIT: fatal: unsafe repository

1 Posty
1 Users
0 Reactions
600 Widok
0
Topic starter

how to jump

1 Answer
0
Topic starter
  1. inside system console type (use --system instead of --global)
    git config --system --add safe.directory C:/my_directory

 

warning not safe: if someone get access to your php files (shell) then he will be able to read any of git files (inc. passwords and other data).

Better use CURL + PRIVATE-TOKEN (much much safer)

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: