Hi, everyone. I’m on the course: deploy a website: github pages: deploy your site
Codecademy gave me the check, which should mean my command was correct, and my website should have been deployed successfully.
But in the console, I get an error, which means that my website wasn’t deployed successfully.
In the console, I typed:
git push -u origin master
And the console gave me back the text:
Username for ‘https://github.com’:
Then I type my username:
Then the console gave me:
Password for ‘https://wangjijanet0@gmail.com@github.com’:
And then I typed my password:
········
And then, I get all this:
To https://github.com/Tommy-Janet/Tommy-Janet.github.io ! [rejected] master -> master (fetch first)
error: failed to push some refs to ‘https://github.com/Tommy-Janet/Tommy-Janet.github.io’
hint: Updates were rejected because the remote contains work that you do not have locally. This is usually caused by another repository pushing to the same ref. You may want to first integrate the remote changes(e.g., ‘git pull …’) before pushing again.See the ‘Note about fast-forwards’ in ‘git push --help’ for details.
What does that even mean? Let alone trying to fix my problem.
Can anyone help?
ps: When this problem is fixed, how do I checkout my deployed website?