As I was doing the Excursion exercise, I tried to make a commit to github and the response was as follows
$ git commit -m “The Excursion Project”
[master (root-commit) dee9c96] The Excursion Project
2 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 index.html
create mode 100644 resources/css/style.css
user@DESKTOP-DC17GLI MINGW64 /c/Projects/Excursion (master)
git remote add origin firstname.lastname@example.org:ruona88/Excursion.git git push -u origin main user@DESKTOP-DC17GLI MINGW64 /c/Projects/Excursion (master) git branch -M main
user@DESKTOP-DC17GLI MINGW64 /c/Projects/Excursion (main)
$ git push -u origin main
The authenticity of host ‘github.com (126.96.36.199)’ can’t be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added ‘github.com,188.8.131.52’ (RSA) to the list of known hosts.
email@example.com: Permission denied (publickey).
fatal: Could not read from remote repository.
I proceeded and went through all the steps until the project was completed, staging and commiting changes. But then, I checked by github account and I cannot see the html and css files there but when I type the git log command, I see the SHA for all the commits. What could be wrong pls ?