cloudflare / cloudflare/workers-sdk

create-cloudflare should prompt for git password when needed

Open
#11,259 0 comments 0 reactions 2 assignees Claimed by @MattieTK View on GitHub
package:c3
Dominant language
TypeScript
Stars
4.5k
Forks
1.5k
Avg merge
3d 8h
Merged PRs (30d)
187

Description

### What versions & operating system are you using?

create-cloudflare v2.54.4
macOS

### Please provide a link to a minimal reproduction

n/a

### Describe the Bug

With the following git config:
```
commit.gpgsign=true
user.signingkey=/path/to/.ssh/key
```

commits are signed and might require to enter the key password.

In such a case c3 would infinite loop on:

```
┐ git commit -m 'Initial commit (by create-cloudflare CLI)

Details:
C3 = create-cloudflare@2.54.4
project name = todel777
package manager = pnpm@10.18.3
wrangler = wrangler@4.47.0
git = 2.50.1 (Apple Git-155)

' --no-verify ...
```

@petebacondarwin helper me figure out that typing the password at this point works.

But we should pipe the git output to show the prompt asking for the password.

### Please provide any relevant error logs

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.