Create Repository from Current Directory with the GitHub CLI
$
gh repo create your-repo --public --source=. --push
Usage
- Make sure you have the GitHub CLI installed and you are signed in
- Run the command above to create a public repo from the current directory and push
Resources
![Andrew Mason's profile image](https://res.cloudinary.com/andrewmcodes/image/upload/w_128,c_fill,ar_1:1,g_auto,r_max/v1665648326/andrewm.codes/profile-gradient-1.png)
Hey, I'm Andrew 👋
I'm a senior product engineer at Podia, co-host of Remote Ruby and Ruby for All, and co-editor of Ruby Radar. You can explore my writing, learn more about me, or subscribe to my RSS feed.