tools/upload: clarify instructions in comments
This commit is contained in:
parent
f415762e8b
commit
40a2fffac7
1 changed files with 6 additions and 7 deletions
|
@ -1,17 +1,16 @@
|
||||||
;;; tools/upload/config.el -*- lexical-binding: t; -*-
|
;;; tools/upload/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Uses `ssh-deploy' to map a local folder to a remote one. Use
|
;; Uses `ssh-deploy' to map a local folder to a remote one. Set
|
||||||
;; `ssh-deploy-root-remote' and `ssh-deploy-root-local' to set up this mapping.
|
;; `ssh-deploy-root-remote' and `ssh-deploy-root-local' in a .dir-locals.el file
|
||||||
|
;; to establish this mapping.
|
||||||
;;
|
;;
|
||||||
;; Example:
|
;; Example:
|
||||||
;; (setq ssh-deploy-root-local "/home/hlissner/work/site/"
|
;; ((nil . ((ssh-deploy-root-local . "/local/path/to/project")
|
||||||
;; ssh-deploy-root-remote "/ssh:hlissner@myserver.com:/var/www/site/"
|
;; (ssh-deploy-root-remote . "/ssh:user@server:/remote/project/")
|
||||||
;; ssh-deploy-on-explicity-save t)
|
;; (ssh-deploy-on-explicity-save . t))))
|
||||||
;;
|
;;
|
||||||
;; Note: `ssh-deploy-root-local' is optional, and will resort to
|
;; Note: `ssh-deploy-root-local' is optional, and will resort to
|
||||||
;; `doom-project-root' if unspecified.
|
;; `doom-project-root' if unspecified.
|
||||||
;;
|
|
||||||
;; Can be used via .dir-locals.el file in your project.
|
|
||||||
|
|
||||||
(def-package! ssh-deploy
|
(def-package! ssh-deploy
|
||||||
:commands (ssh-deploy-upload-handler
|
:commands (ssh-deploy-upload-handler
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue