git使用 - yingziaiai/SetupEnv GitHub Wiki

之前在windows上搭建了git,并clone其spring3.X进行源码编译成功; 并在mac系统上的eclipse中利用插件实现代码上传与clone; 不过最近学习大数据分布式安装了搭载Ubuntu系统的虚拟机,看到intellij idea很火,也想试一下其优秀的功能,于是想着看如何整合使用git与intellij ideal: 使用sudo apt-get install git后 第一次使用就遇到了问题: VCS-》check out from version control-》 17:55:50.017: git clone --progress https://github.com/apache/hadoop.git hadoop 正克隆到 'hadoop'... remote: Counting objects: 935584, done.
remote: Compressing objects: 100% (176/176), done.
error: RPC failed; result=56, HTTP code = 200 fatal: The remote end hung up unexpectedly fatal: 过早的文件结束符(EOF) fatal: index-pack failed

http://www.cnblogs.com/foohack/p/4194147.html

于是想着多了解一点git的用法,而不仅仅局陷于常规的使用,打算从如下几方面慢慢切入: git架构原理; git常见功能; 使用方法。

也发现了不少好的资源: http://rogerdudler.github.io/git-guide/index.zh.html

http://blog.csdn.net/zhang_red/article/details/25111809

图文添加ssh-key: http://www.cnblogs.com/yourihua/archive/2012/07/07/2580147.html

思维导图概括: http://www.cnblogs.com/jackge/archive/2013/08/17/3264801.html

https://github.com/yingziaiai/handbook/blob/master/other/Git%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4%E6%B8%85%E5%8D%95.md#Git%E6%8E%A8%E5%90%913%E4%B8%AA%E5%BA%93

http://mp.weixin.qq.com/s?__biz=MzA4NTQwNDcyMA==&mid=2650662303&idx=1&sn=3df7cba7cd85b33a82b4c05bb12cfff5&chksm=87d138c0b0a6b1d6140da9bab6e58c6e2b258de6118175d31c1ac467b3c58bc1a7c0b1a7db9b#rd

据说要配置ssh,不过真心不知道配这个作用,也不想配,因为分布式下配置免密钥登录时用了这个的,会不会搞的混乱或覆盖,所以不敢冒然去配置,于是试着直接在shell端使用: git clone https://github.com/apache/hadoop.git /home/username/gitProjects/

本地创建好项目后要与git建立连接:先创建本地仓库,再在git上创建仓库,然后再创建连接去传输: http://blog.csdn.net/haizhu668/article/details/40584399