
git
git版本控制学习
Honyelchak
没有“不可能”!
展开
-
IDEA中Line Separators Warning You are about to commot CRLF line separators to the Git repository
在IDEA中commit的时候,会遇到这个警告。其实只需将右下角为CRLF的文件换为LF就行了。 详细的关于这方面的,有一篇文章非常好:原文链接目录:什么是CRLF和LF 为什么要探究CRLF和LF 三种方式处理的不同 更多 参考文献1、什么是CRLF和LFCRLF 是carriagereturnline feed的缩写。中文意思是回车换行。LF是li...原创 2018-10-03 18:48:03 · 19866 阅读 · 2 评论 -
git Key is already in use
在远程创建仓库之后,添加SSH-key时,出现问题,说Key is already in use大致的意思就是这个key已经被占用。我这时有一个疑惑,创建一个仓库需要一个key吗?经过看官方文档发现了,这么一句话: Error: Key already in useThis error occurs when you try to add a key that's al...原创 2018-10-04 19:26:33 · 15796 阅读 · 2 评论 -
在Eclipse中用git提交时,如何避免提交.classpath、.settings、.project文件
在Eclipse中用git提交时,如何避免提交.classpath、.settings、.project文件打开eclipseWindowpreferencesTeamIgnored Resourcesadd Pattern把你想要忽略掉的文件都忽略掉。...原创 2019-04-04 21:43:26 · 4800 阅读 · 0 评论