0

My git config user.email was a different one (company's email address) when I made commits in a private repository's master branch (no PR was required to be made, I could directly push in master branch). I could see the number of contributors increased by 1 but I couldn't find my commits or name in the contributions section. Then, I updated my config using

git config --global user.email "<github_mail_address>"

I started getting my name in the contributions but all the commits I made previously weren't there under anyone's name. How can I associate those with my name? My user.name is same for both user.email. Is there anyway I can associate those commits under my name?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.