Blot

No such remote 'origin'

I have initialized an empty repository with a first commit and a few files, but when following the instructions for adding an existing repository here, I get

error: No such remote 'origin'

Have I missed a step?

Asked 4 years ago Edit
1 replies

Found my solution, instead of running

git remote set-url origin url/to/blog.git

run

git remote add origin url/to/blog.git
4 years ago Edit

Your reply