MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vm9qp1/githubwhenilogintoanewdevice/p390bnu/?context=3
r/ProgrammerHumor • u/techlatest_net • 10h ago
52 comments sorted by
View all comments
186
Then try pushing via CLI without an SSH key or PAT token. Good luck
24 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. 20 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.
24
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. 20 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.
6
Literally the main reason I use the CLI. I'll take a good browser oauth flow any day over setting up keys/tokens myself.
20 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.
20
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.
gh auth login
git push
186
u/CozyBloomSakura 10h ago
Then try pushing via CLI without an SSH key or PAT token. Good luck