GitGet - Version 2
It's been quite a while since I've released a program, so I decided to update gitget. Version 2 is done!
GitGet is a simple, lightweight utility that allows you to easily download entire GitHub repositories, or make installers that install programs from GitHub easily. It can be run directly from the command line, or you can easily edit the program into an installer by changing some variables.
Usage
A lot of stuff has been changed since the original version and GitGet is much better in general now. Basic command-line usage remains the same:
Running the program without arguments will display the usage as seen above.
User is the username of the GitHub account hosting the repository.
Repo is the repository name.
Branch is the branch to download. If not specified it will download the master branch.
Path is the local path to save the data to. By default it will be the root folder of the computer.
Note that GitGet will overwrite files/folders as necessary.
Making an installer
It is very simple to edit GitGet into a basic installer. If you open up the file, starting at line 9 you will see several variables and comments. You can edit these as necessary, then run the program with no arguments and it will download the repository you specified, optionally running code before/after the download as well.
Changes
There have been many changes since the original version:
By default GitGet will now download files asynchronously. This results in HUGE speed benefits.
In asynchronous mode, if GitGet fails to download a file it will retry instead of simply erroring.
In asynchronous mode, instead of spamming folder/file names, it now shows a nicely formatted progress bar as the files are downloaded.
Fixed a bug with files with spaces in their name.
Simpler preset values - easier to understand when creating an automatic installer/downloader by editing gitget.
Download
You can download GitGet here or run this on a computer:
pastebin get W5ZkVYSi gitget
If you have any problems or suggestions, please post! I will update this with more features or fixes if you guys have any.
Edited by apemanzilla, 27 March 2015 - 01:53 AM.