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

Document steps to resolve : remote: error: Your push would publish a private email address. #36

Open
TBestLittleHelper opened this issue Feb 19, 2024 · 1 comment

Comments

@TBestLittleHelper
Copy link

Maybe we should document this? I say that, since I did spend some time realizing that this is why things failed, and the actual git error is not shown directly in your face. But then again, not sure how many would run into it.

A user could run into it, if they have "Keep my email addresses private" turned on in https://github.com/settings/emails

The fix is to add .env variables in gitpod

It's kinda documented in gitpod here : https://gitpod.io/user/account and you can set the variables here : https://gitpod.io/user/variables So might be fine to not document it in https://lichess-org.github.io/lila-gitpod/contributing/ 🤷

@fitztrev
Copy link
Member

The way I fixed it was create a personal gitpod-dotfiles repo that you can register in your gitpod account and it'll auto run various commands to personalize the environment.

https://github.com/fitztrev/gitpod-dotfiles/blob/main/setup.sh

I think it's a good suggestion and we could add it to the docs.

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

2 participants