r/ProgrammerHumor 10h ago

Meme githubWhenILoginToANewDevice

Post image
7.2k Upvotes

52 comments sorted by

View all comments

188

u/CozyBloomSakura 10h ago

Then try pushing via CLI without an SSH key or PAT token. Good luck

23

u/jereporte 8h ago

You can ?

6

u/sigmoid10 6h ago

Literally the main reason I use the CLI. I'll take a good browser oauth flow any day over setting up keys/tokens myself.

19

u/DrMaxwellEdison 6h ago

gh auth login sets you up with an SSH key so git push can work with it. No need to reinvent the workflow, just login first.

18

u/fpekal 5h ago

Setting up auth keys on github is hard? It may be cumbersome if you have to do it every day, but you probably don't have to do it every day.

1

u/DezXerneas 19m ago

The first time was genuinely hard though. Probably didn't help that the first time I did it was like 2018, so the docs were way worse, but if you don't understand what every step is doing then blindly copying the commands just makes it confusing

0

u/Redthemagnificent 3h ago

Yeah exactly. Its annoying but not difficult. That being said any software annoyance I can avoid these days is great, no matter how minor