Skip to content

Instantly share code, notes, and snippets.

@Ambratolm
Created November 16, 2021 01:32
Show Gist options
  • Save Ambratolm/86134d32dced643c0054512dd9b30343 to your computer and use it in GitHub Desktop.
Save Ambratolm/86134d32dced643c0054512dd9b30343 to your computer and use it in GitHub Desktop.
Create a new private GitHub repository using GitHub CLI.
git init
git add .
git commit -m "Initial Commit"
gh repo create owner/name -d "Repo Description Here" --private -y
git push -u origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment