Skip to content

Instantly share code, notes, and snippets.

View spaceghost69's full-sized avatar
🏠
wfh

John McMahon spaceghost69

🏠
wfh
View GitHub Profile
@spaceghost69
spaceghost69 / MultiCommit.java
Created November 7, 2019 21:49 — forked from siordache/MultiCommit.java
Committing multiple files with github-api (PR #361 - https://github.com/kohsuke/github-api/pull/361)
import org.apache.commons.io.IOUtils;
import org.kohsuke.github.*;
import java.net.URL;
public class MultiCommit {
public static void main(String[] args) throws Exception {
String userId = "your-user-id";
String password = "your-password";
String repoName = "your-repo-name";