App-gh
view release on metacpan or search on metacpan
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.
```bash
$ gh update
```
The command above actually runs:
```bash
git remote update --prune
git remote | while read remote; do
git pull --rebase $remote $(git rev-parse --abbrev-ref HEAD)
done
```
<!--
### fork
to fork project:
$ gh fork clkao AnyMQ
to fork current project:
$ cd clkao/AnyMQ
$ gh fork
### network
to show fork network:
$ cd App-gh/
$ gh network
c9s/App-gh - watchers(4) forks(1)
( run in 0.682 second using v1.01-cache-2.11-cpan-b16cb0d3907 )