Git的诞生,可爱的linux先生觉得宇宙内没有可以令他满意的代码管理软件。为什么不自己造一个呢?
Git是分布式的,fast,easy to build branch.
提交:提交到本地。单机上合并。
生成补丁(patch) 快照
svn:增量记录(增加了什么)文本文件的工作
Git是分布式的,fast,easy to build branch.
提交:提交到本地。单机上合并。
生成补丁(patch) 快照
svn:增量记录(增加了什么)文本文件的工作
git:快照,从磁盘文件的角度拍照
speed
simple design
Strong support for non-linear development(thousands of parallel branches)
Fully distributed
Able to handle large projects like the linux kernel efficiently(speed and data size)
stage临时空间 通过.git 中index来索引的。objecs里存储这各个版本文件,经过混淆和加密,无法查看。
git init初始化库
git clone git://github.com/git/hello-world.git导入远程的库