You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the CLI crashes if the user hasn't set their username and email in the git config, when the cli tries to create the initial commit.
I think create-next-app handles this case without problems, just ignoring git.
We should probably check for user.name and email before amending create-next-app with our initial commit.
Get username with git config --global user.name
Get email with git config --global user.email
Set username with git config --global user.name "example user name"
Set email with git config --global user.email "[email protected]"
The text was updated successfully, but these errors were encountered:
I believe the CLI crashes if the user hasn't set their username and email in the git config, when the cli tries to create the initial commit.
I think
create-next-app
handles this case without problems, just ignoring git.We should probably check for
user.name
andemail
before amendingcreate-next-app
with our initial commit.Get username with
git config --global user.name
Get email with
git config --global user.email
Set username with
git config --global user.name "example user name"
Set email with
git config --global user.email "[email protected]"
The text was updated successfully, but these errors were encountered: