JetpackDuba / Gitnuro

A FOSS Git multiplatform client for newbies and pros

Home Page:https://gitnuro.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't connect gitnuro to github.

dnkmmr69420 opened this issue · comments

Can't connect to github

To Reproduce
Steps to reproduce the behavior:

  1. Clone repo
  2. Make commits
  3. Push commits
  4. Enter github username and password
  5. It's incorrect

image

Expected behavior
Authenticates then pushes commits

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux
  • Version: Flatpak

I've figured it out

first install gh, then log in with gh, then go to ~/.config/gh/hosts.yml, then copy username to username then copy oauth token to password

You can't use your password to authenticate, it's something that GitHub changed a few years ago. You need to generate an authentication token as explained here https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens

As mentioned in the other issue, you can also use Git Credentials Manager.