| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 6 |
<meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" /> |
| 7 |
<title>githelp</title> |
| 8 |
<link rel="stylesheet" href="../style.css" type="text/css" /> |
| 9 |
</head> |
| 10 |
<body> |
| 11 |
<div class="document" id="githelp"> |
| 12 |
<span id="ext-githelp"></span> |
| 13 |
<h1 class="title">githelp</h1> |
| 14 |
|
| 15 |
<div class="contents htmlonly topic" id="contents"> |
| 16 |
<p class="topic-title"><a class="reference internal" href="#top">Contents</a></p> |
| 17 |
<ul class="simple"> |
| 18 |
<li><a class="reference internal" href="#description" id="toc-entry-1">Description</a></li> |
| 19 |
<li><a class="reference internal" href="#commands" id="toc-entry-2">Commands</a><ul> |
| 20 |
<li><a class="reference internal" href="#help" id="toc-entry-3">Help</a></li> |
| 21 |
</ul> |
| 22 |
</li> |
| 23 |
</ul> |
| 24 |
</div> |
| 25 |
<p>try mapping git commands to Mercurial commands</p> |
| 26 |
<div class="section" id="description"> |
| 27 |
<h1><a class="toc-backref" href="#contents">Description</a></h1> |
| 28 |
<p>Tries to map a given git command to a Mercurial command:</p> |
| 29 |
<blockquote> |
| 30 |
$ hg githelp -- git checkout master |
| 31 |
hg update master</blockquote> |
| 32 |
<p>If an unknown command or parameter combination is detected, an error is |
| 33 |
produced.</p> |
| 34 |
</div> |
| 35 |
<div class="section" id="commands"> |
| 36 |
<h1><a class="toc-backref" href="#contents">Commands</a></h1> |
| 37 |
<div class="section" id="help"> |
| 38 |
<h2><a class="toc-backref" href="#contents">Help</a></h2> |
| 39 |
<div class="section" id="githelp-1"> |
| 40 |
<h3>githelp</h3> |
| 41 |
<p>suggests the Mercurial equivalent of the given git command:</p> |
| 42 |
<pre class="literal-block"> |
| 43 |
hg githelp |
| 44 |
</pre> |
| 45 |
<p>Usage: hg githelp -- <git command></p> |
| 46 |
<!-- --> |
| 47 |
<blockquote> |
| 48 |
aliases: git</blockquote> |
| 49 |
</div> |
| 50 |
</div> |
| 51 |
</div> |
| 52 |
</div> |
| 53 |
</body> |
| 54 |
</html> |