<code>git gc --auto</code> to abort.</p>
</div>
</div>
<div class="sect2">
<h3 id="_post_rewrite">post-rewrite</h3>
<div class="paragraph">
<p>This hook is invoked by commands that rewrite commits
(<a href="git-commit.html">git-commit(1)</a> when called with <code>--amend</code> and
<a href="git-rebase.html">git-rebase(1)</a>; however, full-history (re)writing tools like
<a href="git-fast-import.html">git-fast-import(1)</a> or
<a href="https://github.com/newren/git-filter-repo">git-filter-repo</a> typically