http://hginit.com/index.html
This tutorial will explain you the fundamental ideas. Just pay attention that
hg commit -m "MESSAGGE"-u USERNAME
A lot of resources are available here!
http://mercurial.selenic.com/wiki/Mercurial
This is the workflow, to use when working with other people (from http://hginit.com/index.html)
- If you haven’t done so in a while, get the latest version that everyone else is working off of:
- hg pull
- hg up
- Make some changes
- Commit them (locally)
- Repeat steps 2-3 until you’ve got some nice code that you’re willing to inflict on everyone else
- When you’re ready to share:
- hg pull to get everyone else’s changes (if there are any)
- hg merge to merge them into yours
- test! to make sure the merge didn’t screw anything up
- hg commit (the merge)
- hg push
No comments:
Post a Comment
Your comment will be visible after approval.