title: Committing from VS Code GUI vs git commit
body: <p>I setup a remote repository in VS Code. It is pointing to Azure DevOps. I can stage a file using the GUI, but when I attempt to commit (click the check mark), I get this message:</p>
  <pre><code>No secret key
  gpg: signing failed: No secret key
  error: gpg failed to sign the data
  fatal: failed to write commit object
  </code></pre>
  <p>However, if I open the terminal (ctrl-~), I can type this and it works:</p>
  <pre><code>git commit -m &quot;my message&quot;
  </code></pre>
  <p>I have searched for the gpg messages above but haven't found a solution. Any thoughts on what to try now? Is there any additional info you need?</p>
  <p>Edit: solved by going to VS Code settings and searched for gpg. &quot;Git: Enable Commit Signing&quot; was checked. I un-checked it and now commits work from VS Code.</p>