Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
wfh

John McMahon spaceghost69

🏠
wfh
View GitHub Profile
@spaceghost69
spaceghost69 / MultiCommit.java
Created Nov 7, 2019 — forked from siordache/MultiCommit.java
Committing multiple files with github-api (PR #361 - https://github.com/kohsuke/github-api/pull/361)
View MultiCommit.java
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";