The repo was cloned using SSH at the start. I had no issues pushing to Github until today. I've been trying to solve this error for a whole day but i still cannot solve this error.. It would be great if anyone can shed some light on this! Thank you :)
2dsnakegame git:(main) git push origin main
ssh: Could not resolve hostname github.com: Temporary failure in name resolution
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ā 2dsnakegame git:(main) git remote
origin
ā 2dsnakegame git:(main) git remote --v
origin git@github.com:xxxx/2dsnakegame.git (fetch)
origin git@github.com:xxxx/2dsnakegame.git (push)