hg常用命令

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​

猜你喜欢

转载自malong0315.iteye.com/blog/1573756