[feat] roam publish no commit first
This commit is contained in:
parent
5b083590ee
commit
f7b83dc14d
2 changed files with 4 additions and 4 deletions
|
@ -151,9 +151,9 @@
|
||||||
(async-shell-command (concat
|
(async-shell-command (concat
|
||||||
"cd " org-hugo-base-dir
|
"cd " org-hugo-base-dir
|
||||||
" && " "git add ."
|
" && " "git add ."
|
||||||
" && " "git commit -m '[post] new post'"
|
|
||||||
(if (yes-or-no-p "Push now?")
|
(if (yes-or-no-p "Push now?")
|
||||||
(" && " "git push"))) "*Messages*")
|
(concat " && " "git commit -m '[post] new post'"
|
||||||
|
" && " "git push"))) "*Messages*")
|
||||||
(message "publish nwe post!"))
|
(message "publish nwe post!"))
|
||||||
|
|
||||||
(defun my/org-roam-creat-node ()
|
(defun my/org-roam-creat-node ()
|
||||||
|
|
|
@ -207,9 +207,9 @@
|
||||||
(async-shell-command (concat
|
(async-shell-command (concat
|
||||||
"cd " org-hugo-base-dir
|
"cd " org-hugo-base-dir
|
||||||
" && " "git add ."
|
" && " "git add ."
|
||||||
" && " "git commit -m '[post] new post'"
|
|
||||||
(if (yes-or-no-p "Push now?")
|
(if (yes-or-no-p "Push now?")
|
||||||
(" && " "git push"))) "*Messages*")
|
(concat " && " "git commit -m '[post] new post'"
|
||||||
|
" && " "git push"))) "*Messages*")
|
||||||
(message "publish nwe post!"))
|
(message "publish nwe post!"))
|
||||||
|
|
||||||
(defun my/org-roam-creat-node ()
|
(defun my/org-roam-creat-node ()
|
||||||
|
|
Loading…
Reference in a new issue