如果我们往一个非空目录下clone git项目,会提示错误信息:
fatal: destination path '.' already exists and is not an empty directory.
解决办法:
把当前同名的目录先改名,然后git clone到本地,再把文件mv或者cp回去
笨是笨一点,但是实用
如果我们往一个非空目录下clone git项目,会提示错误信息:
fatal: destination path '.' already exists and is not an empty directory.
解决办法:
把当前同名的目录先改名,然后git clone到本地,再把文件mv或者cp回去
笨是笨一点,但是实用