赞
踩
问题:
Windows新增用户之后使用git出现问题:
fatal: detected dubious ownership in repository at 'D:/...'
'D:/...' is owned by:
'S-1-5-21-1045045257-1974506225-3199486363-500'
but the current user is:
'S-1-5-21-1045045257-1974506225-3199486363-1001'
To add an exception for this directory, call:git config --global --add safe.directory D:/...
解决方案:
git config --global --add safe.directory "*";
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。