随笔分类 - Git
摘要:原因是需要提交的文件是在windows下生成的,windows中的换行符为 CRLF, 而在linux下的换行符为LF,所以在执行add . 时出现提示, 解决办法: git config --global core.autocrlf false 再执行git 提交
阅读全文
摘要:git fetch 时,提示错误 error: cannot lock ref 'refs/remotes/origin/xxx': unable to resolve reference 'refs/remotes/origin/xxx': reference broken。 在使用 git fe
阅读全文

浙公网安备 33010602011771号