I made a mistake while setting up my GitHub information, so when I pushed to a repository X the name that appeared is not my name. How can I fix it and say that was me? is there any way to do that?
In BitBucket there is an option in repo admin page called "Username aliases".
Note: I'm an admin in the repository X.
In general, the way to indicate that you have some commits with the wrong email address and wish to correct that for people looking at the history in the future is to use the .mailmap
file. This is documented in the git shortlog
manual page. In order to use it, each line should start with your correct name and address, and then continue with any name/address combinations that appear in the history that you wish to map to that correct name and address. For example:
Mhd Aljobory <[email protected]> Wrong Name <example@laptop.(none)>
I don't know if GitHub supports translating via mailmap or not, but this is the standard way that various Git tools use for solving this problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With