Repository: JoshuaKGoldberg/create-typescript-app (ts)

Issue:
🐛 Bug: "Initializing GitHub repository" freezes if manual Git commit unlock passphrase needed
### Bug Report Checklist

- [X] I have tried restarting my IDE and the issue persists.
- [X] I have pulled the latest `main` branch of the repository.
- [X] I have [searched for related issues](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aissue) and found none that matched my issue.

### Expected

Some users set up an [SSH key passphrase](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases) for their Git commits. Sometimes those phrases are needed to be manually input for making a Git commit.

In that case, the `create-typescript-app` CLI should allow the user to enter their passphrase when making a commit.

### Actual

The prompt sticks to _"Initializing GitHub repository..."_ and doesn't accept the passphrase input.

![Terminal screenshot showing "Initializing GitHub repository..." and part of a "Please enter the passphrase to unlock..." notice](https://github.com/JoshuaKGoldberg/create-typescript-app/assets/3335181/550df36d-d08b-45ea-9e08-6f0d4d0c4344)

_(I think all the info there is public, but blurring just in case...)_

### Additional Info

I'd originally set mine up to be automatic but at some point it switched to needing manual re-entry every hour or so. I've been meaning to fix that for ages... but hey, the result is I found this bug. So that's nice!

I tried passing in `"stdio": "pipe"` as `$` options and that did seem to allow typing in. But some characters kept getting dropped I think. passphrases were getting reported as wrong, and sometimes I needed to press <kbd>Enter</kbd> multiple times... maybe an issue to be filed on Clack?

Pull request description:
fix: disable gpg signing on initial commit
## PR Checklist

- [x] Addresses an existing open issue: fixes #1275
- [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken

## Overview

Fixes the issue by disabling GPG signing altogether. 

It would be nice to detect if the user is on a GUI, or wait up to only a second for the first commit... but that adds complications and race conditions (what if the first commit is running some other commands?).

💖 

Patch:
diff --git a/src/create/createWithOptions.ts b/src/create/createWithOptions.ts
index 6320b7e..295d8cb 100644
--- a/src/create/createWithOptions.ts
+++ b/src/create/createWithOptions.ts
@@ -59,7 +59,7 @@ export async function createWithOptions({ github, options }: GitHubAndOptions) {
 		await withSpinner("Initializing GitHub repository", async () => {
 			await $`git remote add origin https://github.com/${options.owner}/${options.repository}`;
 			await $`git add -A`;
-			await $`git commit --message ${"feat: initialized repo ✨"}`;
+			await $`git commit --message ${"feat: initialized repo ✨"} --no-gpg-sign`;
 			await $`git push -u origin main --force`;
 			await initializeGitHubRepository(github.octokit, options);
 		});


Test patch:
diff --git a/src/create/createWithOptions.test.ts b/src/create/createWithOptions.test.ts
index 6f34c38..1c8b535 100644
--- a/src/create/createWithOptions.test.ts
+++ b/src/create/createWithOptions.test.ts
@@ -174,7 +174,7 @@ describe("createWithOptions", () => {
 			  [
 			    [
 			      "git commit --message ",
-			      "",
+			      " --no-gpg-sign",
 			    ],
 			    "feat: initialized repo ✨",
 			  ],