jacopo-degattis / gget

A ruby utility to download github repo subfolders and files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GGET

Description

A rust utility to clone a repo partially, choosing which subfolder and/or file to download.

Run from source

To run GGET from source follow this simple steps

First clone the repo on your local machine

$ git clone https://github.com/jacopo-degattis/gget

Then give gget.rb executable permission

cd gget
chmod +x gget.rb

Finally, run the script

./gget.rb <repo_uri>

If you want to get a private repo just use '-a' option and provide github username and token.

How to get your Github token

  • First go to github.com and login into you account
  • Then click on your profile pic -> settings -> developer settings -> personal access tokens
  • Now generate a new token and give for simplicity all permissions. It's better to give token just the nedded permissions.

LICENSE

MIT

Author

Jacopo De Gattis

About

A ruby utility to download github repo subfolders and files.

License:MIT License


Languages

Language:Ruby 100.0%