I have below
PushCommand push=git.push(); push.setRemote("my remote"); push.setPushAll(); //Push all branches under refs/heads/*. push.setForce(true); //Sets the force preference for push operation. push.call();
want to push only changes from one gitinstance to other
setPushAll : Is this going to push all repository data all time script executed or just commied changes(I want change only)?
push.setForce(true) : What is use of this ? Should I use it in my case ?