-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support "Keep my email address private" #387
Comments
This would be really nice! :) |
A workaround for this is to go into Environment Variables and to add |
@Vlaaaaaaad It doesn't seem to work for me. Do you need to restart the workspace? Still, it's Gitpod better make a setting in the GUI for better user experiences. |
@CreatCodeBuild yes I think you'd need to restart your workspace for the environment variables to be set. Also, please make sure that the variable scope properly matches the repository (e.g. scope |
Details: gp env GIT_AUTHOR_EMAIL=your_value
gp env GIT_COMMITTER_EMAIL=your_value Then restart your workspace. |
Setting GIT_COMMITTER_EMAIL in the environment variables page didn't work for me. I had to use this in the .gitpod.yml file:
I tried it as an init only command, but the environment variables aren't set by that point. |
I have the following set
But |
Which e-mail addresses are used when you commit changes? Note that you have to restart the workspace after setting env variables with |
thanks @corneliusludmann you're right! The env var ( |
Gitlab support also would be quite nice. This should be fixed ASAP as this would result in private data (user emails) being leaked while commiting. |
@sportshead: For GitLab see this related issue: #2007 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Currently,
git config user.email
is forced be the one primary in GitHub.I want to use
ID+username@users.noreply.github.com
by default whenKeep my email address private
is enabled ( https://help.github.com/en/articles/about-commit-email-addresses ).Otherwise, users have to run
git config --global user.email "ID+username@users.noreply.github.com"
everytime starting new projects.The text was updated successfully, but these errors were encountered: