From cbaca5f469f4bd9c262e34cddc066709499bb785 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 17 Feb 2024 21:58:26 +0200 Subject: Add gnosis-git-push --- gnosis.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnosis.el b/gnosis.el index 49f917d..3135592 100644 --- a/gnosis.el +++ b/gnosis.el @@ -1037,6 +1037,14 @@ Used to reveal all clozes left with `gnosis-face-cloze-unanswered' face." (when (eq 'exit (process-status proc)) (unless (process-live-p proc) (delete-process proc))))))) + +;;;###autoload +(cl-defun gnosis-git-push (&optional (dir gnosis-dir)) + "Push change to git repository in DIR." + (interactive) + (let ((default-directory dir)) + (gnosis-git--process "push"))) + (defun gnosis-review-commit (note-num) "Commit review session on git repository. -- cgit v1.2.3