Upload
victor-haydin
View
538
Download
3
Embed Size (px)
Citation preview
DISTRIBUTED VCS BASICSVictor Haydin
Eleks Software Ltd.
Hg
Centralized VCS (SVN, VSS etc.)
Distributed VCS (Hg, Git etc.)
SVN vs. Hg
•Local WD <-> Remote Rep.
•Linear History
•Painful folder-based branching
•Revisions
•One repository for all projects
•Local WD <-> Local Rep. <-> Remote Rep.
•DAG History
•Easy built-in branching
•Changesets
•One repository per project
Working with local repository
Init
Commit
Update
Revert
Working with remote repository
Clone
Pull
Push
Merge
Other commands/features
Rollback
Backout
Rename
.orig files
.hgignore
Named branches
Local branches
Tags
Q&Ahginit.com
hgbook.red-bean.com