hgbook

view ja/examples/backout.init.out @ 1112:7764de86d22f

refined chap 2
author Zhaoping Sun <zhaopingsun@gmail.com>
date Mon Dec 28 22:58:53 2009 -0500 (2009-12-28)
parents
children
line source
1 $ \textbf{hg init myrepo}
2 $ \textbf{cd myrepo}
3 $ \textbf{echo first change >> myfile}
4 $ \textbf{hg add myfile}
5 $ \textbf{hg commit -m 'first change'}
6 $ \textbf{echo second change >> myfile}
7 $ \textbf{hg commit -m 'second change'}