git - How to Github repository show on local machine? -


how fetch repository github git gui?

the goal clone repos given github user.

i don't know of solution use gui.

you use github api list of repo of given user.
see "list user repositories"

this gist gives example, using ruby:

curl -s https://api.github.com/users/<user>/repos?per_page=200 | ruby -rubygems -e 'require "json"; json.load(stdin.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' 

replace <user> github user name.

for readability:

curl -s https://api.github.com/users/<user>/repos?per_page=200 | \ ruby -rubygems -e 'require "json"; json.load(stdin.read).each { \    |repo| %x[git clone #{repo["ssh_url"]} ]}' 

note doesn't handle pagination, means first 200 repos.


Comments