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

Failed to initialize repository: failed to commit while trying to initialize the branch. #496

Open
rceraline opened this issue Aug 21, 2023 · 0 comments

Comments

@rceraline
Copy link

Hi,

When I try to bootstrap a new repo in Azure DevOps, I get the following error:

failed to initialize repository: failed to commit while trying to initialize the branch. Error: failed to commit. Please make sure your gitconfig contains a name and an email

I keep receiving this error even after the user.name and user.email variables have been set in the gitconfig with the following commands.

git config --global user.name "some name"
git config --global user.email "some email"

What am I missing here?

Thanks,

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