I’m trying to deploy a page on Github as Im over half way through my “Introduction to Github course”. Unfortunately, though, I cannot see my “hello world” msg when I check my username.github.io.
I followed the instructions form the following webpage:
In the terminal, after completing steps 3 and 4, this are the messages I receive:
leonardoragazini@Leonardos-MacBook-Pro pro2 % cd ragazini.github.io
echo “Hello World” > index.html
leonardoragazini@Leonardos-MacBook-Pro ragazini.github.io % git add --all
git commit -m “Initial commit”
git push -u origin main
[master (root-commit) f50b278] Initial commit
1 file changed, 1 insertion(+)
create mode 100644 index.html
error: src refspec main does not match any
error: failed to push some refs to ‘ragazini/ragazini.github.io · GitHub’
leonardoragazini@Leonardos-MacBook-Pro ragazini.github.io %
Any thoughts? Im confused and find Github pretty daunting at this stage… any help would be much appreciated.