Can't connect gitnuro to github.
dnkmmr69420 opened this issue · comments
Can't connect to github
To Reproduce
Steps to reproduce the behavior:
- Clone repo
- Make commits
- Push commits
- Enter github username and password
- It's incorrect
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.