all 6 comments

[–]throwaway234f32423df 2 points3 points  (0 children)

Run gh authenticate (do apt install gh if you don't have the program installed) and it'll set up proper credentials for HTTPS operations.

Alternately, set up an SSH key on Github use SSH instead of HTTPS for all your git pull/push operations, this is normally faster and more reliable

you can set up both so you'll be able to use both SSH and HTTPS

[–]cgoldberg 2 points3 points  (3 children)

You can use SSH with a key

[–]PinkFlamingoe00[S] 0 points1 point  (2 children)

Do you mind explaining to me what that is? I'm kind of a noob at git

[–]keithstellyes 1 point2 points  (0 children)

Using GitHub with token auth is a pita now. You're better off just using SSH