hg init testproj 初始化仓库
hg clone http://hg.c2c.com/testproj 克隆复本
hg add filename或 hg add 添加当前目录所有文件
hg commit 提交工作目录修改到本地repos
hg push 推至其他repos供分享
hg pull 引入他人改动至本地repos
hg update 从本地repos更新至工作目录
hg serve -p 8888 -d 开启服务
常用命令:
提交 :hg commit -> hg push
更新 :hg pull -> hg update
本文深入探讨了Mercurial版本控制系统的基本操作和常用命令,包括仓库初始化、克隆、添加文件、提交、推送和拉取等核心流程,以及如何通过Mercurial服务进行远程版本控制。
851

被折叠的 条评论
为什么被折叠?



