Netlify init returns 'No Matching Site Found'

Hello, hope you can help. I’ve verified I’m in the correct directory, running git remote -v from my terminal. When I run netlify init and choose ‘Use current git remote origin (GitHub - jamesgrubb/puppet)’ i get ‘No Matching Site Found’. Hope you can help.

Just to check, did you run netlify login before running init? This is described here: Get started with Netlify CLI | Netlify Docs.

I encounter the same issue. I have followed the instructions given, including authorizing the netlify login command.

gitpod /workspace/workshop-graphql-netflix (master) $ netlify login
Logging into your Netlify account…
Opening Netlify App

You are now logged into your Netlify account!

Run netlify status for account details

To see all available commands run: netlify help

gitpod /workspace/workshop-graphql-netflix (master) $ netlify link

netlify link will connect this folder to a site on Netlify

? How do you want to link this folder to a site? Use current git remote origin (https://github.com/datastaxdevs/workshop-grap
hql-netflix)

Looking for sites connected to ‘GitHub - datastaxdevs/workshop-graphql-netflix: Workshop to illustrate how to use GraphQL’…

No Matching Site Found

No site found with the remote GitHub - datastaxdevs/workshop-graphql-netflix: Workshop to illustrate how to use GraphQL.

Double check you are in the correct working directory and a remote origin repo is configured.

Run git remote -v to see a list of your git remotes.
gitpod /workspace/workshop-graphql-netflix (master) $ git remote
origin
gitpod /workspace/workshop-graphql-netflix (master) $ git remote -v
origin GitHub - datastaxdevs/workshop-graphql-netflix: Workshop to illustrate how to use GraphQL (fetch)
origin GitHub - datastaxdevs/workshop-graphql-netflix: Workshop to illustrate how to use GraphQL (push)
gitpod /workspace/workshop-graphql-netflix (master) $

Answering my own question. Retried above and got it working. The mistake was not being in my local repository when the netlify login/link was issued. One needs to be in the local github repository right from the initial steps.

Hi, thanks for reaching out and sharing!