Abort Git Merge in PhpStorm
<h3>Situation:</h3>
<ol>
<li>Merged a branch</li>
<li>Made a mistake while merging.</li>
<li>I need to abort the merge and start over.</li>
</ol>
<p>I previously used <a href="https://www.git-tower.com/" rel="noreferrer">Tower for Mac</a> to manage my git repository. I'm trying to make the switch to using PhpStorm to manage my git repo but it seems to be missing some features.</p>
<p>In Tower there is an &quot;Abort&quot; button which allows me to easily undo my messed up merge and start over. Simply click the &quot;Abort&quot; button and it reverts everything perfectly like you never even started the merge.</p>
<p><a href="https://i.stack.imgur.com/6uFgx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6uFgx.png" alt="Tower for Mac Abort Merge Button" /></a></p>
<p><em>Tower for Mac Abort Merge Button</em></p>
<h3>Question:</h3>
<p>Is there a simple way to abort/undo a merge in PhpStorm?</p>