Need help about access to my GitHub repo

Need help about access to my GitHub repo

by Joseph Rézeau -
Number of replies: 2
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi fellow developers using GitHub!

I recently (2-3 times) received an email saying :

-----------------------

Hi @rezeau,

You recently used a password to access an endpoint through the GitHub API using git-credential-manager (Microsoft Windows NT 6.2.9200.0; Win32NT; x64) CLR/4.0.30319 git-tools/1.18.4. We will deprecate basic authentication using password to this endpoint soon:

https://api.github.com/user/subscriptions

We recommend using a personal access token (PAT) with the appropriate scope to access this endpoint instead. Visit https://github.com/settings/tokens for more information.

Thanks,
The GitHub Team
--------------------

I vaguely understand what this is all about, but I wonder (a) if I am really concerned and (b) what I should do. Well, I asked for (and got) a PAT for my github, but... I don't know what to do with it.

Here's my current set-up:

On my github I have a number of repositories, related to either Moodle or H5P.

Locally, on my computer, under Windows 10 I cloned these repositories. From time to time I make local commits, which I "push" to my github.

(OK, I know, a serious programmer doesn't use Windows, but I'm just an amateur).

For my GIT processesI use the TortoiseGit interface, which I know pretty well. In TortoiseGit I can see where the credentials are set...

But then I don't know what I have to change or where on my computer I have to do something (in the Windows parameters?).

Thanks!

Average of ratings: -
In reply to Joseph Rézeau

Re: Need help about access to my GitHub repo

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi Joseph

I am taking a shot since nobody answered. For all other purposes I'm the wrong person. (Still wading in the Git sump.)

The subject line reminded me this discussion: I Need Help with GitHub and Moodle. But you are not trying to connect to GitHub via the 'git' CLI nor the web interface. Your Microsoft client goes through some sort of Microsoft services on the net, like Office365, right?

The https://github.com/settings/tokens link is for an API token. Are you doing more than mere checkout (pull) of public repos and checkin (push) of your own repos?
Average of ratings: Useful (1)
In reply to Visvanath Ratnaweera

Re: Need help about access to my GitHub repo

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Thanks for your reply, Visvanath!
You write "The https://github.com/settings/tokens link is for an API token. Are you doing more than mere checkout (pull) of public repos and checkin (push) of your own repos?"
That's right, I only use GitHub to pull and push my own repos and that's why I have come to the conclusion that I don't really need a "token". I can continue to use my GitHut repos as usual.
Joseph