Christian.

GitHub Issue

December 28, 2020

Github

After setting up a lot of initial things on my computer I now wanted to work on an old project. After some research, I simply zipped up an old repo folder from my other computer and emailed it to myself. I then tried making a change, committing it and the pushing it but I got various errors. They were both me but it wasn’t committing as the actual me associated with my GitHub account. It was “counting” as a commit and I got this error (below) so I knew something was off.

error

I asked Reddit for help and ended up adding my same email from the old comp by the command git config --global user.email and then I had to git pull and then another git push and it finally worked!


Written by Christian Turner
Follow me on Twitter