Some error


#1

This is the exercise I received, but my results keep being wrong. Can someone check it out 4 me? please

Next, Git needs to know what repo will store your site's content.

In this case, the repo will be the one you created on GitHub earlier.

To specify the repo using Git, we'll have to add the remote and label it as the origin.

The remote is the URL of the repo that will store your site's contents.
The origin is an alias for the remote. You can think of an alias as an abbreviation or a substitute name. This means that instead of having to always type the lengthy remote URL over and over again, you can simply refer to it as origin later on.
In the terminal, you can add the remote with the following command:

git remote add origin https://github.com/your-user-name/your-user-name.github.io.git

Note: Make sure that your remote's URL is typed correctly. Otherwise, you risk a failed deploy.
1.
In the terminal, add the remote that points to the repository you created earlier. Use the example above to help you.

Important: If you accidentally make a mistake when adding the remote URL, you can start over and remove the remote with the following command:

git remote rm origin

MY CODE:
git remote add origin https://github.com/YugeneXD/YugeneXD.github.io


#2

Have you tried running git remote rm origin and then adding the repository?


#3

yes, but still doesn't work


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.