$ hg init mytag $ cd mytag $ echo hello > myfile $ hg commit -A -m 'Initial commit' adding myfile