
git
葵-托利
一个小前端
展开
-
windows下使用git时的换行警告
在Windows环境下使用git进行add的时候,会有提示如下 warning: “warning:LF will be replacee by CRLF”。 这是因为在Windows中的换行符为CRLF,而在Linux中的换行符为LF。在git创建的项目中换行符为LF,而执行git add时,系统会提示LF将被转换为CRLF。解决的办法很简单,禁止git的自动转换即可。 $ git co...转载 2017-10-22 20:01:48 · 587 阅读 · 0 评论 -
git错误Repository not found
因为之前在本地设置的git user.email 是公司邮箱,与自己的GitHub账号不关联,今天改成了自己的GitHub账号的邮箱 git config --global user.email "wyw1121@live.com" 没想到这一改出现问题了 remote: Repository not found fatal: repository xxxxxxxxxxx not f...原创 2017-11-27 16:00:27 · 31589 阅读 · 1 评论