githelp

Contents

try mapping git commands to Mercurial commands

Description

Tries to map a given git command to a Mercurial command:

$ hg githelp -- git checkout master hg update master

If an unknown command or parameter combination is detected, an error is produced.

Commands

Help

githelp

suggests the Mercurial equivalent of the given git command:

hg githelp

Usage: hg githelp -- <git command>

aliases: git