hgbook

view ja/examples/daily.files.add.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 add-example}
2 $ \textbf{cd add-example}
3 $ \textbf{echo a > a}
4 $ \textbf{hg status}
5 ? a
6 $ \textbf{hg add a}
7 $ \textbf{hg status}
8 A a
9 $ \textbf{hg commit -m 'Added one file'}
10 $ \textbf{hg status}