Hey everyone! I’m working on a fresh project and wondering if there’s a way to initialize a GitHub repository directly through the command line interface. Right now I have to manually go to the GitHub website every time I want to create a new repo, which feels pretty inefficient. I’d love to streamline my workflow so I can set everything up and start pushing commits without switching between my terminal and browser. I’m still pretty new to Git and GitHub, so I’m not sure if this is even possible or what tools I might need. Has anyone figured out how to do this? What commands or setup steps are involved? Any help would be awesome, thanks!
totally! just get the github cli with brew install gh
, then gh auth login
to connect. after that, it’s easy! just run gh repo create
in your folder and boom, it’s done. makes things way smoother, trust me.