Pro Git
professional version control
This is an in-progress translation.
To help translate the book, please fork the book at GitHub and push your contributions.
To help translate the book, please fork the book at GitHub and push your contributions.
Chapter 8
Git 与其他系统
世界不是完美的。大多数时候,将所有接触到的项目全部转向 Git 是不可能的。有时我们不得不为某个项目使用其他的版本控制系统(VCS, Version Control System ),其中比较常见的是 Subversion 。你将在本章的第一部分学习使用 git svn
,Git 为 Subversion 附带的双向桥接工具。
或许现在你已经在考虑将先前的项目转向 Git 。本章的第二部分将介绍如何将项目迁移到 Git:先介绍从 Subversion 的迁移,然后是 Perforce,最后介绍如何使用自定义的脚本进行非标准的导入。