App-gh is a Perl module that provides an interface for you clone, fork, search github repository very easily. You can even clone all repositories from an author , for example:
$ gh all miyagawa
$ gh all miyagawa --into path/
this will clone all repositories of miyagawa.
Or you can search repository:
$ gh search AnyEvent
Or list all repository of an author:
$ gh list c9s
You may clone a repository from an author, then you might want to fork the repository:
$ gh clone gugod Social
$ cd Social
$ gh fork
This will fork gugod/Social into yourID/Social. and will add a remote name called 'c9s' (your fork).
And you might want to show all forks of this repository:
$ gh network
to pull changes from one fork.
$ gh pull gugod [branch]
This will pull changes from gugod/[branch]. specify --merge to merge these changes. --branch if you want the forked branch to be checked out.
Operations Requiring Authentication
Some Github operations (like forking) require that your user is authenticated. To do that, simply add the following fields to your .gitconfig file (located in your home directory):
[github]
user=myuser
token=XXX
You can find your token by logging into Github, then going to "Account Settings" on the top right corner, then "Account Admin". Make sure to update this information if you ever change your password.
Product's homepage
Requirements:
· Perl