Mercurial > hgbook
diff en/examples/branch-named @ 203:d7615e15510f
More about named branches, and early use of them.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 20 Apr 2007 14:35:39 -0700 |
parents | 6f167e644762 |
children | 6519f3b983b4 |
line wrap: on
line diff
--- a/en/examples/branch-named Fri Apr 20 14:02:10 2007 -0700 +++ b/en/examples/branch-named Fri Apr 20 14:35:39 2007 -0700 @@ -7,4 +7,25 @@ #$ name: branches +hg tip hg branches + +#$ name: branch + +hg branch + +#$ name: create + +hg branch foo +hg branch + +#$ name: status + +hg status +hg tip + +#$ name: commit + +echo 'hello again' >> myfile +hg commit -m 'Second commit' +hg tip