diff options
author | Thanos Apollo <[email protected]> | 2024-02-17 21:58:26 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-17 21:58:26 +0200 |
commit | cbaca5f469f4bd9c262e34cddc066709499bb785 (patch) | |
tree | 4022a3e2aaa9086b7c2a91e7ce2a31d651580c4e /gnosis.el | |
parent | c3d9f9b1b1ccb1018e66b6767ee5cb0b191858d0 (diff) |
Add gnosis-git-push
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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. |