private repository github code example
Example 1: github private key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: create private repository github command line
# create a repository under your account using the current directory name
$ git init my-project
$ cd my-project
$ gh repo create
# create a repository with a specific name
$ gh repo create my-project
# create a repository in an organization
$ gh repo create cli/my-project
# disable issues and wiki
$ gh repo create --enable-issues=false --enable-wiki=false