Mercurial
- Create a new repository
- Go to existing directory, execute
hg init
- Go to existing directory, execute
- History:
hg log - See which revision:
hg parents - See what files are modified, added, etc.
hg status - Discard changes, revert:
hg revert [file] - Change default editor for check-in comments: Set the
$EDITORenv. variable