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

Exercise setups requires global credentials #369

Open
TidosDK opened this issue Aug 6, 2024 · 1 comment
Open

Exercise setups requires global credentials #369

TidosDK opened this issue Aug 6, 2024 · 1 comment

Comments

@TidosDK
Copy link

TidosDK commented Aug 6, 2024

When running the setup script in exercises that perform git commits, credentials must be defined. If the user hasn't defined global credentials, it won't be able to commit anything.

To produce the bug, the bisect exercise can be initialized.

The solution would be to define dummy credentials as the repository won't be using the credentials anyway.

@TidosDK
Copy link
Author

TidosDK commented Aug 6, 2024

Example solution would be to add the following in the setup.sh and setup.ps1 script.

git config user.name "eficode"
git config user.email "eficode@example.com"

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