惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
G
Google Developers Blog
Vercel News
Vercel News
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
H
Help Net Security
博客园 - 三生石上(FineUI控件)
MongoDB | Blog
MongoDB | Blog
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
H
Hackread – Cybersecurity News, Data Breaches, AI and More
aimingoo的专栏
aimingoo的专栏
T
Tailwind CSS Blog
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
Microsoft Security Blog
Microsoft Security Blog
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG

博客园 - atempcode

Debugging Visualizer for UEFI type 僵尸窗口 SCMBUG 邮件乱码的解决方法 在Eclipse里使用Visual Studio的快捷键 Subversion in 2010 The case of Trac installation won’t run Ad in Stackoverflow.com becomes annoying Importing notes in Google Notebook to Evernote 饭否mashup: Popfly入门 (二) 饭否mashup: Popfly入门 Which Parts of China Have You Been To? 黄秋生 美丽的梭罗河 偏光鏡用法: PL, CPL I do not like itunes 焦距 单镜反光相机 光圈 DSLR和DC的差异 Firefox的饭否Toolbar 1.1
GIT vs SVN
atempcode · 2007-10-23 · via 博客园 - atempcode

2007-10-23 21:46  atempcode  阅读(3005)  评论()    收藏  举报

GIT是Linus开发的用来代替BitKepper来管理Linux内核代码的; SVN号称是Better CVS; 这几天公司在选择PVCS的替代系统, 我就负责来对比一下GIT和SVN.

下载了Fedora, 完全安装. SVN就已经自己带了, GIT安装也很方便:

yam insatll git

就可以了.

两者的设计思想有根本不同: SVN还是会有一个中央库, 是client/server模式; 而git没有一个中央库. 你同步code的同时同步了整个repository. 每个库的重要性是一样的. 这种模式对我这种熟悉了CVS的人来讲是有个比较陡峭的学习曲线的.

Troubleshooting:

1. 安装完SVN后, 本地用svn://ipaddress 能够checkout code, 换一台机就不行, 错误信息 "No route to host".

Solution: 原因是Linux的防火墙. 编辑iptables或者暂时disable防火墙:

/etc/init.d/iptables save
/etc/init.d/iptables stop

 
2. 用git clone git://... 时报错, server log: Repository not exported.

Solution: 1. 在git文件夹里创建一个叫 git-daemon-export-ok的文件

或者 2. git-daemon --export-all