[feat] roam publish no commit first

This commit is contained in:
SouthFox 2024-06-19 00:25:59 +08:00
parent 5b083590ee
commit d5839d5df4
2 changed files with 4 additions and 4 deletions

View file

@ -151,9 +151,9 @@
(async-shell-command (concat
"cd " org-hugo-base-dir
" && " "git add ."
" && " "git commit -m '[post] new post'"
(if (yes-or-no-p "Push now?")
(" && " "git push"))) "*Messages*")
(" && " "git commit -m '[post] new post'"
" && " "git push"))) "*Messages*")
(message "publish nwe post!"))
(defun my/org-roam-creat-node ()

View file

@ -207,9 +207,9 @@
(async-shell-command (concat
"cd " org-hugo-base-dir
" && " "git add ."
" && " "git commit -m '[post] new post'"
(if (yes-or-no-p "Push now?")
(" && " "git push"))) "*Messages*")
(" && " "git commit -m '[post] new post'"
" && " "git push"))) "*Messages*")
(message "publish nwe post!"))
(defun my/org-roam-creat-node ()