Bruce
Bruce

Reputation: 1380

Github tokens not working?

I created a token like described here - https://help.github.com/articles/git-over-http-using-oauth-token. This was ok.

But when I wan to use it like in documentation:

git clone https://[email protected]/mylogin/myrepo.git

I get:

fatal: https://[email protected]/mylogin/myrepo.git/info/refs not found: did you run git update-server-info on the server?

I have a feeling that everything I tried from Github documentation doesn't work :( I am doing something wrong or the documentation is outdated or doesn't describe some steps that should be so common that I should already know? :)

I am using private repository, not public.

Upvotes: 2

Views: 2798

Answers (1)

Bruce
Bruce

Reputation: 1380

The problem was that I created the token with my repository name in scopes section instead of the word repo.

Upvotes: 1

Related Questions