A handy tool to help devs transition between version control systems.
Prints out the equivalent command in the other VCS.
pip install --user vcsrosetta
$ g2h checkout
git checkout:
=============
Translates as:
git checkout [file] => hg revert [file]
git checkout HEAD => hg update tip
git checkout `git rev-list -n 1 --before="[date]" master` => hg update --date [date]
git checkout -f => hg update -C
git checkout [branch] => hg update [branch]
$ h2g update
hg update:
==========
Translates as:
hg update --date=[date] => git checkout `git rev-list -n 1 --before="[date]" master`