summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-17 21:58:41 +0200
committerThanos Apollo <[email protected]>2024-02-17 21:58:41 +0200
commit8a9528c66e23d3d61b2e8a66d86f37828704e74e (patch)
tree5633e6ae15caae90397f5ae4b2c2d63306a3fd25 /gnosis.el
parentcbaca5f469f4bd9c262e34cddc066709499bb785 (diff)
Add gnosis-git-pull
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.