Hacker News new | ask | show | jobs
by Teeer 2937 days ago
I love GitLab, and I use a private instance at work, but I won't use it to store my public projects for one sole reason: you can't hide your email address shown in commits.
5 comments

Thanks for the love Teeer! We've created an issue to track this feature, feel free to follow if it you'd like https://gitlab.com/gitlab-org/gitlab-ce/issues/47190
This seems a little off-kilter. If you're that concerned, set a dummy email address in your "~/.gitconfig", or your project-specific ".git/config". I mean, I could just clone the repository if I wanted, and if I wanted to scrape it I could certainly do that too.

You can have multiple addresses associated with your GitLab as well, so you can add the dummy one to make sure your profile metadata still shows up.

You can set whatever address you want in your commit, it doesn't have to match the one in your account.
You can't hide it on github either. You can just look at the commits directly, and I've used this to contact people in the past due to the "UI" hiding it. It's nothing more than the thinnest bit of obfuscation, and easily overcome.
You don't have to use your personal email address in commits if you wish to keep it private on GitHub:

https://help.github.com/articles/about-commit-email-addresse...

That's not gitlab or github, that's how git works.
I'm talking about this. A GitHub specific feature that helps people out.

https://blog.github.com/2017-04-11-private-emails-now-more-p...