Answers for "how to work with private repo on github"

3

github how to clone private repo

1.Generate new token -> https://github.com/settings/tokens
2.$ git clone https://github.com/username/repo.git
Username: your_username
Password: your_token
Posted by: Guest on September-14-2021
1

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
Posted by: Guest on May-21-2021

Code answers related to "how to work with private repo on github"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language