fatal: could not create work tree dir ‘xxxx’: Permission denied
fatal: could not create work tree dir ‘xxxx’: Permission denied
原因:没有权限
解决:
# 回退到当前目录的上一级 cd .. # dirname为当前目录的名字 sudo chmod o+w dirname
原因:没有权限
解决:
# 回退到当前目录的上一级 cd .. # dirname为当前目录的名字 sudo chmod o+w dirname