摘要:
使用git推代码,在不同的平台上编辑了同一个代码(比如在Windows远程写完保存回到虚拟机push),git add报错fatal: detected dubious ownership in repository
解决方法:
最简单的办法就是git init就完事了
像这样
摘要:
使用git推代码,在不同的平台上编辑了同一个代码(比如在Windows远程写完保存回到虚拟机push),git add报错fatal: detected dubious ownership in repository
解决方法:
最简单的办法就是git init就完事了
像这样