google / docsy-example

An example documentation site using the Docsy Hugo theme
https://docsy.dev
Apache License 2.0
472 stars 686 forks source link

Installation: git first steps to deploy to Netlify #38

Closed aborruso closed 4 years ago

aborruso commented 4 years ago

Hi all, after installation steps

git clone https://github.com/google/docsy-example.git
cd docsy-example
git submodule update --init --recursive

I know I must create a new repo on github. To pushing my local files to the newly created repo, I think I should run something like

git remote add origin https://github.com/user/myNewRepo.git

But I have fatal: remote origin already exists. because I already have https://github.com/google/docsy-example.git.

Is it the right way to solve to run git remote rm origin and than add the new origin? If now, what's the way to do it?

Thank you

aborruso commented 4 years ago

It's not the right repo