Mercurial
Initialization
hg init
cat >> .hg/hgrc << EOF
[ui]
username = triaxx <triaxx@triaxx.io>
EOF
Usage
hg status
hg add <file>
hg forget <file>
hg commit
hg log --graph
Change the message of the last commit:
hg commit --amend
Revert to the last commit version:
hg revert
hg revert --no-backup
Extensions
Enable histedit:
cat >> .hg/hgrc << EOF
[extensions]
histedit =