Skip to content

A ruby utility to download github repo subfolders and files.

License

Notifications You must be signed in to change notification settings

jacopo-degattis/gget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Languages