Snippets
1 min read

Create Repository from Current Directory with the GitHub CLI

Andrew Mason's profile image

Andrew Mason

·

gh repo create your-repo --public --source=. --push

Usage

  1. Make sure you have the GitHub CLI installed and you are signed in
  2. Run the command above to create a public repo from the current directory and push

Resources


Andrew Mason's profile image

Andrew Mason

Senior Product Engineer at Podia


Details

Published:
Mar 30, 2022
Updated:
Mar 30, 2022
Reading Time:
1 min