CloneGithubOrg 1.1.1

A .net CLI utility to clone all repositories in a Github org.

dotnet tool install --global CloneGithubOrg --version 1.1.1
This package contains a .NET Core Global Tool you can call from the shell/command line.

After installing the tool, the command clone-github-org will now be available:

clone-github-org --help

-u, --username    The username to use when authenticating to clone repositories.

-p, --password    The password (personal access token) to use when authenticating to the Github API and to clone repositories.

-o, --org         Required. The Github organization from which to clone repositories.

To clone all public repositories for a github organization into the current working directory:

clone-github-org -o aspnet

If you have access to private repositories for a Github org, you can create a personal access token with repo level permissions. Then use the -u & -p options to clone public & private repos:

clone-github-org -o aspnet -u mygithubusername -p myaccesstoken

After installing the tool, the command clone-github-org will now be available:

clone-github-org --help

-u, --username    The username to use when authenticating to clone repositories.

-p, --password    The password (personal access token) to use when authenticating to the Github API and to clone repositories.

-o, --org         Required. The Github organization from which to clone repositories.

To clone all public repositories for a github organization into the current working directory:

clone-github-org -o aspnet

If you have access to private repositories for a Github org, you can create a personal access token with repo level permissions. Then use the -u & -p options to clone public & private repos:

clone-github-org -o aspnet -u mygithubusername -p myaccesstoken

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.1.1 53 9/15/2019
1.1.0 47 9/15/2019
1.0.0 55 8/29/2019