ranch&gt; &lt;directory&gt; [--squash]</p>

<h2 id="DESCRIPTION">DESCRIPTION</h2>

<p>Merges a repository's history with the current repository, inside a specified directory.</p>

<p>Optional <code>--squash</code> flag skips the full history and generates only one commit for the merge.</p>

<h2 id="EXAMPLES">EXAMPLES</h2>

<p>  Merges a local repo's <code>frontend</code> branch into the current repo's <code>web</code> folder:</p>

<pre><code>$ git merge-repo ../app/.git frontend web
</code></pre>

<p>  Merg