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 in1
- Run the command above to create a public repo from the current directory and push
Last Updated: Mar 30th, 2022