fatal: detected dubious ownership in repository at ‘/home/

fatal: detected dubious ownership in repository at '/home/
To add an exception for this directory, call:

        git config --global --add safe.directory /home
 

 fatal: detected dubious ownership in repository at ‘/home/_第1张图片

按上面方法应该也行,直接用root账户登录也可以,就不会报上面的错了

 

你可能感兴趣的:(Android,git,github,java)