Yo-An Lin (林佑安) > App-gh-0.66 > App::gh::Command::All

Download:
App-gh-0.66.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

App::gh::Command::All - clone/update all repositories from one

DESCRIPTION ^

If you need a mirror of repos from one, you will need this command.

If repos exists, clone command will pull changes for these repos from remotes.

USAGE ^

    $ mkdir github
    $ cd github

To clone c9s' repos:

    $ gh all c9s

Once you have all repos cloned, to update them, you only need to run all command again:

    $ gh all c9s

OPTIONS ^

Genernal Options:

    --prompt
        prompt for each cloning repo.

    --into {path}
        clone repos into a {path}.

    --skip-exists, -s
        skip existed repos.

    --verbose
        verbose output.

    --bare
        clone repos as bare repos.
        this option adds postfix ".git" to directory.
        e.g.: "{dirname}.git"

    --mirror
        clone repos as mirror repos.
        this option adds postfix ".git" to directory.
        e.g.: "{dirname}.git"

    --prefix {prefix}
        Add prefix to repository name.

    --force, -f
        remove existed repos before cloning repos.

Clone URL format:

    --ssh

    --http

    --https

    --git
syntax highlighting: