Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (18 sloc) 576 Bytes

gh-upload

% wget https://github.com/downloads/dakrone/gh-upload/gh-upload-1.0-standalone.jar

% export GHUSER=dakrone
% export GHREPO=cheshire
% export GHREPOOWNER=dakrone
% export GHPASS=mysupersecretpassword

% java -jar gh-upload-1.0-standalone.jar /path/to/file.data
Checking if file already exists...
Deleting existing file (200894)...
Uploading file /path/to/file.data...
Done.

why?

There were a lot of tools for uploading a file to github, but none that were standalone java utils.

known issues

Won't work with openJDK 7, because of cert issues.