Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when there is no git identity set on Windows machine #157

Open
Pabl0cks opened this issue Nov 21, 2024 · 0 comments
Open

Error when there is no git identity set on Windows machine #157

Pabl0cks opened this issue Nov 21, 2024 · 0 comments

Comments

@Pabl0cks
Copy link
Collaborator

When I try to install extensions choosing Foundry, I kept getting ✖️ Failed to initialize git repository error.

Trying with WSL i got a full cause log, which got fixed after setting my git config email and name, but seems that is not getting anything by default.

Would it be possible to set a default identity, or add an extra step asking for git identity to the user if we can't find any?

[cause]: '\n' +
    '*** Please tell me who you are.\n' +
    '\n' +
    'Run\n' +
    '\n' +
    '  git config --global user.email "[email protected]"\n' +
    '  git config --global user.name "Your Name"\n' +
    '\n' +
    "to set your account's default identity.\n" +
    'Omit --global to set the identity only in this repository.\n' +
    '\n' +
    'fatal: empty ident name (for <pablo@DESKTOP-6EP6DB4.>) not allowed'
}
Uh oh! 😕 Sorry about that! Exiting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant