Commit made by a non-existent account #23155
-
My commit’s author is a non-existent account instead of mine.I don’t really know where I’m supposed to write that, or if it will help anyone, but I feel like it should be written somewhere. Deleted old account and made a new oneThe title says it all. During my studies I made a Github account with my school mail address, that I didn’t want to keep anymore, so I decided to delete that old account, and make a brand new with my own personal mail. While I had the old account, I installed and used Git for Windows. I deleted properly my previous account, by going to the settings of this account, asking for it to be deleted, writing the little sentence acknowledging that I really want to delete it, and a message appears saying that : “The account was officially deleted, and all information concerning this account will be deleted in the following 24hrs.” (or something like this) The problemSo I made a new account a few days ago, and thought I’d start exploring Github, but also use it to its full potential. I decided to make a MkDocs site based on Github Pages, and created a repo for that purpose. Then, I imported the repo using VS Code, and started modifying it, saving changes, committing, pushing and so on, in order to get used to it, as I never used it before. When I went on Github to check the changes, the commits were made by… My Old Account I searched on the forum, and found out that there are 3 separate roles (the author, the committer and the pusher) thanks to this great topic : Why is my commit associated with the wrong person? What’s importantDoing my researches, I found out that the nickname in this file is a bit useless as Github will resolve itself the nickname associated to the mail address noted in the file. This is where my questioning stands : how is it possible for Github to match this supposedly dead account to this mail address it the account is deleted, and if all data concerning the account are deleted (implying even the mail address) ? FinalyThanks for reading ! 😉 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Argald0:
If we can’t match the commit email address to an account, the nickname on the commit is used instead. So it’s not matching your old email address with your deleted account - it’s using the nickname you used in those commits. |
Beta Was this translation helpful? Give feedback.
-
Makes sense ! 😛 |
Beta Was this translation helpful? Give feedback.
If we can’t match the commit email address to an account, the nickname on the commit is used instead. So it’s not matching your old email address with your deleted account - it’s using the nickname you used in those commits.