🪟 Windows TippsAffinity Ships a Major Update With Over 60 New Features(17.09.2026 um 19:13 Uhr)
🤖 Android TippsNutzer von Google Fotos dürfen sich auf großes Update freuen(17.09.2026 um 18:32 Uhr)
🕵️ HackingOnline-Täter locken Kinder in Chatgruppen - ooe.ORF.at(17.09.2026 um 17:22 Uhr)
🪟 Windows TippsAffinity Ships a Major Update With Over 60 New Features(17.09.2026 um 19:13 Uhr)
🤖 Android TippsNutzer von Google Fotos dürfen sich auf großes Update freuen(17.09.2026 um 18:32 Uhr)
🕵️ HackingOnline-Täter locken Kinder in Chatgruppen - ooe.ORF.at(17.09.2026 um 17:22 Uhr)
🐧 Unix Server 🕛 vor 9 Jahren 1 Min Lesezeit
0

Karanbir Singh: create a new github.com repo from the cli

↗ Quelle (karan.org)
🗣️ Stimme:

I often get into a state where I’ve started some work, done some commits etc and then realised I dont have a place to push the code to. Getting it on github has involved getting the browser out, login to github, click click click {pain}. So, here is how you can create a new repo for your login name on github.com without moving away from the shell.




curl -H "X-GitHub-OTP: XXXXX" -u 'LoginName' https://api.github.com/user/repos -d '{"name":"Repo-To-Create"}'


You need to supply your OTP pass and replace XXXX with it, and ofcourse your own LoginName and finally the Repo-To-Create. Once this call runs, curl will ask for your password and you should get the github API dump a bunch of details ( or tell you that it failed, in which case you need to check the call ).


now the usual ‘git remote add github [email protected]:LoginName/Repo-To-Create‘ and you are off.


regards,

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf karan.org lesen.
↗ Original-Artikel auf karan.org lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Projects are now a conversation with Claude
1 Quelle
Microsoft Brings Windows 11 Auto SR to Intel Core Ultra Series 3-Based PCs
1 Quelle
Affinity Ships a Major Update With Over 60 New Features