App-gh

 view release on metacpan or  search on metacpan

README.mkd  view on Meta::CPAN

```

Clone from SSH URI:

```bash
    $ gh clone miyagawa/Plack --ssh
```

To fetch related remote of forks, you can specify
`--forks` option. this command allows you to download 
commits from others' fork.

```bash
    $ gh clone c9s App-gh --forks
```

To clone repository and set the default remote name instead 
of `origin`, you can specify `--origin` option:

```bash
    $ gh clone c9s App-gh --origin github
```

### all

By using the `all` command, you can clone all repositories
from an user.

Below is the basic form:

```bash
    $ gh all [user] [type]
```

The `[type]` can be `member`, `all`, `owner`. if you specify 
`all` then all repositories including fork projects will be 
cloned. if you specify `owner`, then only the owner's
projects will be cloned.

For example, to clone all repositories of miyagawa:

```bash
    $ gh all miyagawa
```

To clone all repositories that owned by facebook:

```bash
    $ gh all facebook owner
```

By specifing `--into` option, you can clone these 
repositories into a specific directory, for example:

```bash
    $ gh all facebook owner --into path/to/facebook

    $ gh all perl6 --into perl6-stuff
```

To prompt before cloning each repository:

```bash
    $ gh all perl6 --prompt
```

To also fetch tags, you can specify `--tags` option:

```bash
    $ gh all facebook --tags
```

You can also specify a prefix to each repo:

```bash
    $ gh all facebook --prefix=facebook-prefix-
```

To clone these repositories as bared:

```bash
    $ gh all facebook --bare
```

To recursively clone submodules:

```bash
    $ gh all perl6 --recursive
```


### import

By using the `import` command, you can import your git
repository to your GitHub account.

You can simply type below line the upload your project:

```bash
    $ gh import
```

To specify remote name for GitHub, you can use `--remote`
option.

```bash
    $ gh import --remote github
```

### search

To search repositories, simply use `search` command:

```bash
    $ gh search keyword
```

### update

Sometimes you need to update remote refs, branches, tags,
you might run `git remote update --prune`, and run pull with
--rebase option to rebase changes on your local branch.

With App::gh, you can do simpler with the `update` command.



( run in 0.623 second using v1.01-cache-2.11-cpan-0b5f733616e )