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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Tailwind CSS Blog
有赞技术团队
有赞技术团队
爱范儿
爱范儿
Engineering at Meta
Engineering at Meta
J
Java Code Geeks
雷峰网
雷峰网
WordPress大学
WordPress大学
L
LangChain Blog
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
博客园 - 三生石上(FineUI控件)
Microsoft Security Blog
Microsoft Security Blog
P
Proofpoint News Feed
腾讯CDC
GbyAI
GbyAI
罗磊的独立博客
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
F
Fortinet All Blogs
Y
Y Combinator Blog
V
V2EX
A
About on SuperTechFans

博客园 - 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