Enviar pesquisa
Carregar
Lx4 coffee mercurial-usage
•
1 gostou
•
603 visualizações
Zoom Quiet
Seguir
2008刘鑫作的内部 Hg 分享了在
Leia menos
Leia mais
Tecnologia
Negócios
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 18
Baixar agora
Baixar para ler offline
Recomendados
nodejs在微博前端开发中的应用
nodejs在微博前端开发中的应用
dong yuwei
Varnish简介
Varnish简介
fangdeng
Hadoop compress-stream
Hadoop compress-stream
Schubert Zhang
深入Docker的资源管理
深入Docker的资源管理
SpeedyCloud
MIS MySQL 入門
MIS MySQL 入門
均民 戴
Linux I/O Scheduler
Linux I/O Scheduler
Hesey
Track2 -刘继伟--openstack in gamewave
Track2 -刘继伟--openstack in gamewave
OpenCity Community
unethost.com - ssh使用手冊
unethost.com - ssh使用手冊
unethost.com
Recomendados
nodejs在微博前端开发中的应用
nodejs在微博前端开发中的应用
dong yuwei
Varnish简介
Varnish简介
fangdeng
Hadoop compress-stream
Hadoop compress-stream
Schubert Zhang
深入Docker的资源管理
深入Docker的资源管理
SpeedyCloud
MIS MySQL 入門
MIS MySQL 入門
均民 戴
Linux I/O Scheduler
Linux I/O Scheduler
Hesey
Track2 -刘继伟--openstack in gamewave
Track2 -刘继伟--openstack in gamewave
OpenCity Community
unethost.com - ssh使用手冊
unethost.com - ssh使用手冊
unethost.com
Java_07:Thread
Java_07:Thread
Brad Chao
Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置
wensheng wei
Redis 常见使用模式分析
Redis 常见使用模式分析
vincent253
Rethinkdb and tokudb research
Rethinkdb and tokudb research
mysqlops
Rethink db&tokudb调研测试报告
Rethink db&tokudb调研测试报告
Feng Yu
Rethink db&tokudb调研测试报告
Rethink db&tokudb调研测试报告
iammutex
Redis介绍
Redis介绍
zhaolinjnu
080329 dvcs-vs
080329 dvcs-vs
Zoom Quiet
Zh120226techparty zd-story
Zh120226techparty zd-story
Zoom Quiet
Info.nl / Social Marketing - Facebook lab 11/11/2010
Info.nl / Social Marketing - Facebook lab 11/11/2010
Lorenzo Pireddu
CentOS Virt SIG - Community virtualization packages on an immutable core
CentOS Virt SIG - Community virtualization packages on an immutable core
The Linux Foundation
Xen Project Release and Roadmap Process
Xen Project Release and Roadmap Process
The Linux Foundation
Xen Overview Q3 2009
Xen Overview Q3 2009
The Linux Foundation
LFCOLLAB15: Xen 4.5 and Beyond
LFCOLLAB15: Xen 4.5 and Beyond
The Linux Foundation
Configuring OpenStack to Use the Xen Project Hypervisor
Configuring OpenStack to Use the Xen Project Hypervisor
The Linux Foundation
Xen in the Cloud at SCALE 10x
Xen in the Cloud at SCALE 10x
The Linux Foundation
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
The Linux Foundation
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
The Linux Foundation
陈正 Introduction to-sae_python
陈正 Introduction to-sae_python
Zoom Quiet
Xen time machine
Xen time machine
The Linux Foundation
Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud?
The Linux Foundation
111218 zhtechparty-zd-浅谈symbian开发
111218 zhtechparty-zd-浅谈symbian开发
Zoom Quiet
Mais conteúdo relacionado
Mais procurados
Java_07:Thread
Java_07:Thread
Brad Chao
Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置
wensheng wei
Redis 常见使用模式分析
Redis 常见使用模式分析
vincent253
Rethinkdb and tokudb research
Rethinkdb and tokudb research
mysqlops
Rethink db&tokudb调研测试报告
Rethink db&tokudb调研测试报告
Feng Yu
Rethink db&tokudb调研测试报告
Rethink db&tokudb调研测试报告
iammutex
Redis介绍
Redis介绍
zhaolinjnu
Mais procurados
(7)
Java_07:Thread
Java_07:Thread
Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置
Redis 常见使用模式分析
Redis 常见使用模式分析
Rethinkdb and tokudb research
Rethinkdb and tokudb research
Rethink db&tokudb调研测试报告
Rethink db&tokudb调研测试报告
Rethink db&tokudb调研测试报告
Rethink db&tokudb调研测试报告
Redis介绍
Redis介绍
Destaque
080329 dvcs-vs
080329 dvcs-vs
Zoom Quiet
Zh120226techparty zd-story
Zh120226techparty zd-story
Zoom Quiet
Info.nl / Social Marketing - Facebook lab 11/11/2010
Info.nl / Social Marketing - Facebook lab 11/11/2010
Lorenzo Pireddu
CentOS Virt SIG - Community virtualization packages on an immutable core
CentOS Virt SIG - Community virtualization packages on an immutable core
The Linux Foundation
Xen Project Release and Roadmap Process
Xen Project Release and Roadmap Process
The Linux Foundation
Xen Overview Q3 2009
Xen Overview Q3 2009
The Linux Foundation
LFCOLLAB15: Xen 4.5 and Beyond
LFCOLLAB15: Xen 4.5 and Beyond
The Linux Foundation
Configuring OpenStack to Use the Xen Project Hypervisor
Configuring OpenStack to Use the Xen Project Hypervisor
The Linux Foundation
Xen in the Cloud at SCALE 10x
Xen in the Cloud at SCALE 10x
The Linux Foundation
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
The Linux Foundation
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
The Linux Foundation
陈正 Introduction to-sae_python
陈正 Introduction to-sae_python
Zoom Quiet
Xen time machine
Xen time machine
The Linux Foundation
Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud?
The Linux Foundation
111218 zhtechparty-zd-浅谈symbian开发
111218 zhtechparty-zd-浅谈symbian开发
Zoom Quiet
Sql Alchemy Story
Sql Alchemy Story
Zoom Quiet
Aplura virtualization slides
Aplura virtualization slides
The Linux Foundation
100305 trac-plugin-dev-intro
100305 trac-plugin-dev-intro
Zoom Quiet
Zh120226techparty jeff kit-ios-toolbox
Zh120226techparty jeff kit-ios-toolbox
Zoom Quiet
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon Brazil
The Linux Foundation
Destaque
(20)
080329 dvcs-vs
080329 dvcs-vs
Zh120226techparty zd-story
Zh120226techparty zd-story
Info.nl / Social Marketing - Facebook lab 11/11/2010
Info.nl / Social Marketing - Facebook lab 11/11/2010
CentOS Virt SIG - Community virtualization packages on an immutable core
CentOS Virt SIG - Community virtualization packages on an immutable core
Xen Project Release and Roadmap Process
Xen Project Release and Roadmap Process
Xen Overview Q3 2009
Xen Overview Q3 2009
LFCOLLAB15: Xen 4.5 and Beyond
LFCOLLAB15: Xen 4.5 and Beyond
Configuring OpenStack to Use the Xen Project Hypervisor
Configuring OpenStack to Use the Xen Project Hypervisor
Xen in the Cloud at SCALE 10x
Xen in the Cloud at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
Xen cloud platform v1.1 (given at Build a Cloud Day in Antwerp)
陈正 Introduction to-sae_python
陈正 Introduction to-sae_python
Xen time machine
Xen time machine
Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud?
111218 zhtechparty-zd-浅谈symbian开发
111218 zhtechparty-zd-浅谈symbian开发
Sql Alchemy Story
Sql Alchemy Story
Aplura virtualization slides
Aplura virtualization slides
100305 trac-plugin-dev-intro
100305 trac-plugin-dev-intro
Zh120226techparty jeff kit-ios-toolbox
Zh120226techparty jeff kit-ios-toolbox
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon Brazil
Semelhante a Lx4 coffee mercurial-usage
Mecurial hg
Mecurial hg
iaiyang
Git 經驗分享
Git 經驗分享
Mu Chun Wang
如何與 Git 優雅地在樹上唱歌
如何與 Git 優雅地在樹上唱歌
Mu Chun Wang
使用 Visual Studio Code 建構 JavaScript 應用程式
使用 Visual Studio Code 建構 JavaScript 應用程式
Will Huang
Continuous Delivery Workshop with Ansible x GitLab CI (2nd)
Continuous Delivery Workshop with Ansible x GitLab CI (2nd)
Chu-Siang Lai
Git in a nutshell
Git in a nutshell
Nelson Tai
快快樂樂學 Angular 2 開發框架
快快樂樂學 Angular 2 開發框架
Will Huang
icecream / icecc:分散式編譯系統簡介
icecream / icecc:分散式編譯系統簡介
Kito Cheng
Introduction to MVC of CodeIgniter 2.1.x
Introduction to MVC of CodeIgniter 2.1.x
Bo-Yi Wu
Hacking Nginx at Taobao
Hacking Nginx at Taobao
Joshua Zhu
使用Nginx轻松实现开源负载均衡
使用Nginx轻松实现开源负载均衡
cachowu
Linux network monitoring hands-on pratice
Linux network monitoring hands-on pratice
Kenny (netman)
Git 入门实战
Git 入门实战
icy leaf
版本控制 使用Git & git hub
版本控制 使用Git & git hub
維佋 唐
初心者 Git 上手攻略
初心者 Git 上手攻略
Lucien Lee
開發環境建置
開發環境建置
Shengyou Fan
開發流程與工具介紹
開發流程與工具介紹
Shengyou Fan
Nginx使用和模块开发
Nginx使用和模块开发
qingpiao1983
Node.js從無到有 基本課程
Node.js從無到有 基本課程
Simon Su
Continuous Delivery Workshop with Ansible x GitLab CI
Continuous Delivery Workshop with Ansible x GitLab CI
Chu-Siang Lai
Semelhante a Lx4 coffee mercurial-usage
(20)
Mecurial hg
Mecurial hg
Git 經驗分享
Git 經驗分享
如何與 Git 優雅地在樹上唱歌
如何與 Git 優雅地在樹上唱歌
使用 Visual Studio Code 建構 JavaScript 應用程式
使用 Visual Studio Code 建構 JavaScript 應用程式
Continuous Delivery Workshop with Ansible x GitLab CI (2nd)
Continuous Delivery Workshop with Ansible x GitLab CI (2nd)
Git in a nutshell
Git in a nutshell
快快樂樂學 Angular 2 開發框架
快快樂樂學 Angular 2 開發框架
icecream / icecc:分散式編譯系統簡介
icecream / icecc:分散式編譯系統簡介
Introduction to MVC of CodeIgniter 2.1.x
Introduction to MVC of CodeIgniter 2.1.x
Hacking Nginx at Taobao
Hacking Nginx at Taobao
使用Nginx轻松实现开源负载均衡
使用Nginx轻松实现开源负载均衡
Linux network monitoring hands-on pratice
Linux network monitoring hands-on pratice
Git 入门实战
Git 入门实战
版本控制 使用Git & git hub
版本控制 使用Git & git hub
初心者 Git 上手攻略
初心者 Git 上手攻略
開發環境建置
開發環境建置
開發流程與工具介紹
開發流程與工具介紹
Nginx使用和模块开发
Nginx使用和模块开发
Node.js從無到有 基本課程
Node.js從無到有 基本課程
Continuous Delivery Workshop with Ansible x GitLab CI
Continuous Delivery Workshop with Ansible x GitLab CI
Mais de Zoom Quiet
42qu thrift1
42qu thrift1
Zoom Quiet
产品信息收集系统Infoc的演变
产品信息收集系统Infoc的演变
Zoom Quiet
Go courseday3
Go courseday3
Zoom Quiet
Go courseday2
Go courseday2
Zoom Quiet
Go courseday1
Go courseday1
Zoom Quiet
01s0401 go,互联网时代的c语言 许式伟
01s0401 go,互联网时代的c语言 许式伟
Zoom Quiet
Zoz pwned-by-the-owner-表惹程序猿
Zoz pwned-by-the-owner-表惹程序猿
Zoom Quiet
金山云查询系统改进之路1
金山云查询系统改进之路1
Zoom Quiet
Zh120226techparty velocity2011-review
Zh120226techparty velocity2011-review
Zoom Quiet
Velocity2011分享
Velocity2011分享
Zoom Quiet
111218 zhtechparty-panda讲稿
111218 zhtechparty-panda讲稿
Zoom Quiet
111218 zhtechparty-移动互联网产品需求分析
111218 zhtechparty-移动互联网产品需求分析
Zoom Quiet
ImpoImport this, that, and the other thing: custom importersrt not for_y
ImpoImport this, that, and the other thing: custom importersrt not for_y
Zoom Quiet
Import this, that, and the other thing: custom importers
Import this, that, and the other thing: custom importers
Zoom Quiet
金山卫士界面框架
金山卫士界面框架
Zoom Quiet
111030 gztechparty-小路-云时代的mysql
111030 gztechparty-小路-云时代的mysql
Zoom Quiet
111030 gztechparty-小路-sophia
111030 gztechparty-小路-sophia
Zoom Quiet
080328 linux2 bsd
080328 linux2 bsd
Zoom Quiet
110929 kn-手机软件测试
110929 kn-手机软件测试
Zoom Quiet
Socialmediaaroundtheworld2011
Socialmediaaroundtheworld2011
Zoom Quiet
Mais de Zoom Quiet
(20)
42qu thrift1
42qu thrift1
产品信息收集系统Infoc的演变
产品信息收集系统Infoc的演变
Go courseday3
Go courseday3
Go courseday2
Go courseday2
Go courseday1
Go courseday1
01s0401 go,互联网时代的c语言 许式伟
01s0401 go,互联网时代的c语言 许式伟
Zoz pwned-by-the-owner-表惹程序猿
Zoz pwned-by-the-owner-表惹程序猿
金山云查询系统改进之路1
金山云查询系统改进之路1
Zh120226techparty velocity2011-review
Zh120226techparty velocity2011-review
Velocity2011分享
Velocity2011分享
111218 zhtechparty-panda讲稿
111218 zhtechparty-panda讲稿
111218 zhtechparty-移动互联网产品需求分析
111218 zhtechparty-移动互联网产品需求分析
ImpoImport this, that, and the other thing: custom importersrt not for_y
ImpoImport this, that, and the other thing: custom importersrt not for_y
Import this, that, and the other thing: custom importers
Import this, that, and the other thing: custom importers
金山卫士界面框架
金山卫士界面框架
111030 gztechparty-小路-云时代的mysql
111030 gztechparty-小路-云时代的mysql
111030 gztechparty-小路-sophia
111030 gztechparty-小路-sophia
080328 linux2 bsd
080328 linux2 bsd
110929 kn-手机软件测试
110929 kn-手机软件测试
Socialmediaaroundtheworld2011
Socialmediaaroundtheworld2011
Lx4 coffee mercurial-usage
1.
水银( Mercurial )的使用 刘鑫 定制个人开发环境系列
2.
版本管理系统与我 ● 版本管理系统会带来什么? ● 如何运用版本管理系统使我们获利? ●
如何学习版本管理系统?
3.
从分布式版本管理系统开始 ● 从自我做起,熟悉版本管理系统 ● 学会管理自己的工作 –
管理变更 – 查看历史与回溯 – 工作分支 ● 学习团队合作 – 代码提交与更新 – 局部代码交换 – 离线工作与集中管理
4.
我是谁 ● 告诉 Mercurial
你是谁: – 直接使用用户名 @ 域 – 定义 HGUSER 变量 – 定义 EMAIL 变量 – 编辑 .hgrc 文件: [ui] username = March Liu <march.liu@gmail.com>
5.
建立仓库 ● 每个人心中都有一个哈姆雷特 – 每个工作目录都是一个仓库 –
每个仓库都有自己的历史 ● 为每个项目建立自己的仓库 – > hg init ● 从别人或服务器获得代码 – > hg clone ${sourcepath}
6.
日常工作--查看仓库 ● 查看文件状态 – >
hg status ● 查看变更路径 – > hg parents ● 查看历史记录 – > hg log ● 查看当前工作状态 – > hg tip ● 查看标记/分支 – > hg tags –
7.
设定提交 ● 文件修改会被自动发现 ● 添加新文件 –
> hg add ● 删除 – > hg rm ● 复制 – > hg copy ● 目前的改名只是 copy&remove – > hg rename ● 添加/删除
8.
提交变更 ● 提交变更 – >
hg commit [-m “...”][-u “...”] ● 我不想…… – > hg rollback – Rollback 撤消的是设定为待提交的内容 ● 一切都是幻觉…… – > hg revert [-r x] – Revert 操作使工作区回复到指定状态 ● 指定更新 – > hg update [-r x]
9.
分支( branch ) ●
创建分支 – > hg branch xxx ● 查看当前分支 – > hg branch ● 查看所有分支 – > hg branches
10.
标记 tag ● 创建分支 –
> hg tag xxx ● 查看当前分支 – > hg tag ● 查看所有分支 – > hg tags
11.
变更历史 ● 每次提交产生一个变更集 – Changeset –
16 进制标识 ● 每次提交拥有一个版本号 – 修订号 – 整数 ● 变更历史可能产生多线 – 多人工作合并 – 分支切换
12.
U 盘交流 ● 创建新的复本到同事的
U 盘 – > hg clone <from your repo> ● 把变更推过去 – > hg push <to where> ● 获取别人的改动 – > hg pull <from where> ● 或许你需要 hg update [-C] ● 或许你需要 hg merge
13.
电子邮件 ● 打包自己的变更集 – >
hg bundle [-a] [--base] xxx ● 合并收到的仓库包 – > hg unbundle xxx ● --base 可以指定历史节点 ● 或许你需要 – > hg merge – > hg update [-C] ● 注意 hg 给你的提示
14.
架设 hg 服务器 ●
可以用 hg serve 架设一个简单的 pull 服务器 ● SSH ● 内置 hgweb.cgi ● 远程 pull : incoming ● 远程 push : outgoing
15.
常用的知识 ● -I 用来包含匹配的文件 ●
-X 用来排除匹配的文件 ● -f 强制执行 ● --logfile(-l) 从指定文件中读出 mess age ● -u 指定用户 ● --date(-d) 记录时间 ● Mercurial 是基于文件的
16.
模式匹配 ● “ syntax:patternbody” –
支持 glob 语法 – Python 内置正则库 re – 默认为通配符
17.
水下冰山 ● 集成 kdiff3 ●
丰富的 hook ● 成功的大型项目实践 – OpenJDK – Mozilla – ... ● Mercurial Queues – 管理补丁发布 ● 大量的成功体验有待挖掘……
18.
方便的教材 ● 包括汉化版的一站式指导图 – Mercurial-QuickStart-v1.0-300dpi –
Mercurial-Usage-v1.0-300dpi ● 全面的 free book – Distributed revision control with Me rcurial by Bryan O’Sullivan
Baixar agora