How to Create a github repo from the commandline

preview_player
Показать описание
In this video, we are going to see how to build a Github repo from the command line with the help of GitHub CLI.

Before starting install Github CLI on your machine:

all the commands I used:
git init -b main
gh repo create project-name
git push --set-upstream origin main
git add . && git commit -m "initial commit" && git push

Also, i wrote an article about it if you prefer that you can check it out here:

#github
#webdevelopment
#frontend
#githubCLI
Рекомендации по теме