create-t3-app: Git fails to innitialize with create t3-app

Describe the bug When I run the create yarn create t3-app After choosing my preferred options, the scaffold builds successfully, however during the build, it attempts to initialise git and it fails. Git can be initialised manually later by running git init after the build

To Reproduce Steps to reproduce the behaviour:

  • Run yarn create t3-app
  1. See error βœ– Failed: could not initialise git

Expected behaviour The git initialisation should not fail

Additional information

  • I am on a linux distro i.e Zorin Os
  • I have git installed

Screenshots t3

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (13 by maintainers)

Most upvoted comments

Got the same problem still with git version 2.25.1. WSL2, Ubuntu.

Initializing Git...
β ‹ Creating a new git repo...
βœ– Failed: could not initialize git. Update git to the latest version!

Worked with git version 2.37.3

@nexxeln Okay just wanted to let you know about it. It is not detrimental to the creation of the app and someone can manually initialize git themselves. It’s an awesome project πŸ‘