fatal: destination path '.' already exists and is not an empty directory. 错误及解决办法
2017-11-07 21:25
1001 查看
今天在使用Git for Windows clone代码时,遇到了题目所示的错误,简单来说就是目标路径‘.’已经存在并且不是一个空目录。
可是在我在文件夹下并没有看到任何文件,显示“该文件夹为空”,然后自然而然地,我想到了这个'.'路径是不是被Windows隐藏了?
于是我打开工具->文件夹选项->查看->显示隐藏文件,终于发现了隐藏文件夹“.git”。
删掉该文件夹后,再次执行git clone,成功拉下代码。
可是在我在文件夹下并没有看到任何文件,显示“该文件夹为空”,然后自然而然地,我想到了这个'.'路径是不是被Windows隐藏了?
于是我打开工具->文件夹选项->查看->显示隐藏文件,终于发现了隐藏文件夹“.git”。
删掉该文件夹后,再次执行git clone,成功拉下代码。
相关文章推荐
- git fatal: destination path '**' already exists and is not an empty directory.解决
- fatal: destination path ‘文件夹名’ git clone already exists and is not an empty directory解决方法
- fatal: destination path '.' already exists and is not an empty directory.如何 clone git 项目到一个非空目录
- fatal: destination path '.' already exists and is not an empty directory.如何 clone git 项目到一个非空目录
- fatal: destination path '.' already exists and is not an empty directory.如何 clone git 项目到一个非空目录
- 关于make sure class name exists, is public, and has an empty constructor that is public解决办法
- Git 提示fatal: remote origin already exists 错误解决办法
- gen already exists but is not a source folder. Convert to a source folder or rename it 的解决办法
- svn 如果遇到an unversioned directory of the same name already exists的解决办法
- gen already exists but is not a source folder. Convert to a source folder or rename it解决办法
- Git 提示fatal: remote origin already exists 错误解决办法
- 解决错误:/gen already exists but is not a source folder. Convert to a source folder or rename it
- Git 提示fatal: remote origin already exists 错误解决办法
- eclipse res/bin 变成白块。gen already exists but is not a source folder----解决办法
- Git 提示fatal: remote origin already exists 错误解决办法
- Git 提示fatal: remote origin already exists 错误解决办法
- 解决错误:/gen already exists but is not a source folder. Convert to a source folder or rename it
- Git 提示fatal: remote origin already exists 错误解决办法
- 解决错误:/gen already exists but is not a source folder. Convert to a source folder or rename it
- Git 提示fatal: remote origin already exists 错误解决办法