this.git( cmd );
cmd = { "commit", "--m", commit_message };
this.git( cmd );
+ this.push();
this.loadBranches(); // updates lastrev..
var notification = new Notify.Notification(
GitMonitor.gitmonitor.pauseError(ee.message);
return false;
}
-
+ this.push();
} else {
try {
string[] cmd = { "checkout", "-b" , branchname };
this.git(cmd);
+
+ this.push();
} catch(Error ee) {
GitMonitor.gitmonitor.pauseError(ee.message);
return false;
public string push () throws Error, SpawnError
{
// should
- return this.git({ "push", "origin", "HEAD" });
+ return this.git({ "push", "--all" });
}