title: VSCode Git exit & save commit editor?
body: <p>I have Git Bash installed on Windows 10, I'm following this video <a href="https://youtu.be/MIFQwHlEI9o?t=602" rel="nofollow noreferrer">https://youtu.be/MIFQwHlEI9o?t=602</a> on using git inside VSCode, he's picking pieces from a commit using checkout with the -p option:</p>
  <pre><code>$ git checkout 0903304 index.html -p
  diff --git b/index.html a/index.html
  index 3ebbb46..d95bb1a 100644
  --- b/index.html
  +++ a/index.html
  @@ -10,6 +10,10 @@
       &lt;ul&gt;
           &lt;li&gt;Item one&lt;/li&gt;
       &lt;/ul&gt;
  +
  +    &lt;p&gt;Paragraph one&lt;/p&gt;
  +    &lt;h1&gt;A title&lt;/h1&gt;
  +    &lt;div&gt;&lt;p&gt;Some text&lt;/p&gt;&lt;/div&gt;
  
   &lt;/body&gt;
   &lt;/html&gt;
  \ No newline at end of file
  Apply this hunk to index and worktree [y,n,q,a,d,e,?]
  </code></pre>
  <p>when I enter &quot;e&quot; the file is loaded with both versions and my cursor is automatically placed in the editor. After making my changes and CTRL+S to save I can't exit. I've tried q, ESC, CTRL+X, wq, :wq, :x! nothing works but closing the file with the &quot;x&quot; but then I get:</p>
  <pre><code>Your edited hunk does not apply. Edit again (saying &quot;no&quot; discards!) [y/n]?       0 [sig] bash 987! sigpacket::process: Suppressing signal 18 to win32 process (pid 6340)
  </code></pre>