//Run when button is clicked public override void OnClick(GitGudWindow window) { GitCore.Push(true, (output) => { GitEvents.TriggerOnLocalChange(); }); }
private void AutoPush() { GitCore.Push(true, (output) => { //Trigger a refresh GitEvents.TriggerOnLocalChange(); //Error if (output.errorData != null) { Debug.LogError(output.errorData); return; } }); }