summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index 3135592..1dead65 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1045,6 +1045,13 @@ Used to reveal all clozes left with `gnosis-face-cloze-unanswered' face."
(let ((default-directory dir))
(gnosis-git--process "push")))
+;;;###autoload
+(cl-defun gnosis-git-pull (&optional (dir gnosis-dir))
+ "Pull change from git repository in DIR."
+ (interactive)
+ (let ((default-directory dir))
+ (gnosis-git--process "pull")))
+
(defun gnosis-review-commit (note-num)
"Commit review session on git repository.