Commits from wrong user in gitlab repository (hosted online)
Created by: lucacerone
I have a project I have worked on using a git repository in the last couple of years, it contains commits I made from different computers (e.g. mine at work, mine at home), and sometimes commits of files I modified using the web interfaces of git host services (e.g. Bitbucket). Up to now I have been the only contributor to this project.
I now have to work on this project and share it with a few collaborators. I have decided to host this project on Gitlab (https://gitlab.com), so that we can work on it privately.
I pushed my repository to Gitlab and to my surprise I discovered that some of the commits are shown to have been done by some other Gitlab user (you can see this marked in red in the attached screenshot).
I think the issue might be do to the fact that in Gitlab there is an user with the same username I used for some commits from my laptop (it is simply my name, which was for long how my commits appeared when I started).
This seems a pretty serious bug to me.
First I would like to know is there a quick and dirty fix for this? (like rewriting all the history to force use a different name).
I would like to fix this before sharing it with my collaborators.