Re: GitHub: personal access tokens (classic) (was: push to github repo hangs - why?)
- In reply to: Graham Perrin : "GitHub: personal access tokens (classic) (was: push to github repo hangs - why?)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Jan 2023 19:25:37 UTC
> From: "Graham Perrin" <grahamperrin@freebsd.org> > To: "questions" <questions@freebsd.org> > Sent: Friday, January 27, 2023 6:58:38 PM > Subject: GitHub: personal access tokens (classic) (was: push to github repo > hangs - why?) > On 26/01/2023 19:57, Tomek CEDRO wrote: >> … it seems that GitHub does not allow username + password >> (credentials) auth, but oauth and ssh auth only. … > From [ https://github.com/settings/tokens | <https://github.com/settings/tokens> > ] : >>> … can be used instead of a password for Git over HTTPS, … > – and push does work for me. Hi Gramah, I agree, I believe it _should_ work for me too, per documentation. However, now that I've added my public ssh key I can push using " [ mailto:git@github.com:repo_username/repo.git%22 | git@github.com:repo_username/repo.git" ] repo syntax so I'm happy.