Private information showing in commit while migrating from github to gitlab

Hi @newperson, welcome to the GitLab Community Forum!

Both GitHub and GitLab display the user.name and user.email for authors of each commit in Git history. This happens transparently based on the settings in your git config.
To see the source of this data, and where its saved in Git history, run git config --list and git log from the root directory of a local clone.

As your name and email are embedded in Git history and there’s no way to hide Git commit author details from the UI, I suggest marking the projects themselves as “Private” to hide this information.

2 Likes