And then when I tried to git push, I got an error:
Which was weird because I was able to create the remote repo. I just couldn't push to it.
git@github.com: Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.
I investigated my ssh key situation, and it appears the Mac OS upgrade removed my github key. Luckily, I had the key still in my ~/.ssh directory and was able to rectify the situation with:
ssh-add ~/.ssh/github_user-GitHubThen all was good again. Whew!
No comments:
Post a Comment