Hi,
I don't seem to be able to run 'git push' command with Process
Running the command directly for the first time on a branch in Terminal i get
fatal: The current branch set_upstream has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin set_upstream
If i run it through Process i get nothing and i'm not sure the command runs since has no effect.
I use:
var process = new sys.io.Process("git", ["push"]);
process.exitCode(true);
var result = process.stdout.readAll().toString();
trace(result);
Sys.command("git", ["push"]); works but i can't get its output in haxe.
'git branch' through Process works too
Any ideas if i can run it and get its output too?
What i want is to find if a branch was set to upstream or not.