Use Hg under command line

1) Create a new, empty mercurial repository:

hg init myproject

2) Add some files into the current repository:

hg add <file name>|<dir_name>

3) Commit files into the repository:

hg commit -m “message here!”

posted @ 2012-08-24 08:02  opencoder  阅读(174)  评论(0编辑  收藏  举报