git clone排错

来源:互联网 发布:sky 知乎 编辑:程序博客网 时间:2024/05/22 07:56

错误信息:

warning: You appear to have cloned an empty repository.

或者

fatal: destination path '.' already exists and is not an empty directory.


解决办法:

  1. ls -a  
  2. rm .git/ -rf  
或者
git pull
0 0
原创粉丝点击