Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Bug: During run init command, finish the git initialize process without question to user('Initialize a new git repository?')

Closed Beginner friendly
#2,697 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

A pull request for this has already been merged.

  • #2698 by @nishu-murmu — closed without merging
  • #2699 by @nishu-murmu — merged

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
bun, typescript
Domain
cli

Research direction

The issue points to the wxt init command and relates the behavior to PR #2620. Start by reading that PR and tracing the init command's Git initialization prompt. Reproduce with bunx wxt@latest init in a new folder, then confirm the command asks before initializing Git and only initializes after an affirmative response.

Written by the indexing model from the issue text.

Description

pending-triage
Describe the bug

In v0.21.5, a feature was released to ask users whether they want to initialize a git repository when running the wxt init command, and proceed with initialization only if they reply "yes."

However, I tried on local, the git repository was initialized automatically without asking the prompt.

Related PR: #2620

Reproduction

https://github.com/user-attachments/assets/077562b6-53ed-4348-b99e-80f0f1bce17d

Steps to reproduce
  1. create new folder
  2. check not to managed by git this folder
  3. run bunx wxt@latest init
  4. check git status command
System Info
System:
    OS: macOS 15.5
    CPU: (10) arm64 Apple M4
    Memory: 110.84 MB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.7.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 11.5.1 - /opt/homebrew/bin/npm
    pnpm: 10.33.0 - /opt/homebrew/bin/pnpm
    bun: 1.3.14 - /Users/katsu/.bun/bin/bun
  Browsers:
    Chrome: 156.0.8078.48
    Safari: 18.5
Used Package Manager

bun

Validations
Dominant language
TypeScript
Stars
10.6k
Forks
581
Avg merge
2d 8h
Merged PRs (30d)
46

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wxt-dev/wxt

All issues in wxt-dev/wxt

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.