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?
Found my solution, instead of running
git remote set-url origin url/to/blog.git
run
git remote add origin url/to/blog.git
Answered 2 years ago ยท
Edit answer