예제 #1
0
 public static void pushOriginMaster(final File dir) {
   Executor.exec("git push -u origin master", null, dir);
 }
예제 #2
0
 public static void remoteAddOrigin(
     final String scmUrl, final String username, final String projectName, final File dir) {
   Executor.exec("git remote add origin " + scmUrl + "/" + projectName + ".git", null, dir);
 }