[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ssh-deploy 36186d6 002/173: Replaced sync references wi
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ssh-deploy 36186d6 002/173: Replaced sync references with deploy |
Date: |
Sat, 20 Oct 2018 10:36:20 -0400 (EDT) |
branch: externals/ssh-deploy
commit 36186d6d9ffd986040abd66dee99feb9fa372dbe
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>
Replaced sync references with deploy
---
README.md | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 7f64a47..7fe4b2a 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,15 @@
# `ssh-deploy`
-The `ssh-deploy` plugin makes it possible to effortlessly sync local files
with remote files via SSH. It makes it possible to define remote paths and
whether or not you want to explicitly sync on explicit save actions or not. It
also enabled manual upload and download of files. *You need to have a setup
which allows password-less key-based logins to servers*.
+The `ssh-deploy` plugin makes it possible to effortlessly deploy local files
to remote hosts via SSH. It also makes it possible to define remote paths per
directory and whether or not you want to deploy on explicit save actions or
not. Also it enables manual upload and download of files. You can also check
differences between local file and remote file if you have `tramp` installed.
*You need to have a setup which allows password-less key-based logins to
servers via SSH and have scp inst [...]
-`ssh-deploy` works with `DirectoryVariables` so you can have different sync
setups in different ways for different folders.
+`ssh-deploy` works with `DirectoryVariables` so you can have different deploy
setups in different ways for different folders.
This application is made by Christian Johansson <address@hidden> 2016 and is
licensed under GNU General Public License 3.
## An example
-* Download ssh-deploy and place it at `~/.emacs.d/ssh-deploy/`. You need to
have `scp` installed locally and enable key-based SSH logins to your remote
hosts.
+* Download ssh-deploy and place it at `~/.emacs.d/ssh-deploy/`.
* Create this `DirectoryVariables` file in your project root at
`/Users/username/Web/MySite/.dir-locals.el`.
@@ -25,10 +25,21 @@ This application is made by Christian Johansson
<address@hidden> 2016 and is l
(add-to-list 'load-path "~/.emacs.d/ssh-deploy/")
(use-package ssh-deploy)
```
-* Now when you save a file somewhere under the root
`/Users/username/Web/MySite/`, the script will launch and sync the file with
the remote server. You can also trigger a manual deploy by pressing `C-c C-z u`.
+* Now when you save a file somewhere under the root
`/Users/username/Web/MySite/`, the script will launch and deploy the file with
the remote server. You can also trigger a manual deploy by pressing `C-c C-z u`.
+* If you press `C-c C-z x` you will launch a `ediff` session showing
differences between local file and remote file using `tramp`.
+* If you press `C-c C-z u` you will upload local file to remote host.
+* If you press `C-c C-z d` you will download file from remote host and reload
current buffer.
+
+If you want to change the key-binding prefix you only need to set the variable
`ssh-deploy-key-binding-prefix` with something like this:
+
+``` elisp
+(setq ssh-deploy-key-binding-prefix "your-key-binding-here")
+```
The above configuration uses the plugin `use-package` which I highly recommend.
## Read more
* <https://www.emacswiki.org/emacs/DirectoryVariables>
+* <http://www.gnu.org/software/tramp/>
* <https://github.com/jwiegley/use-package>
+* <https://www.emacswiki.org/emacs/EdiffMode>
- [elpa] branch externals/ssh-deploy created (now ffc3cd0), Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 045e729 003/173: Made readme a bit more clear, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 6344d55 005/173: Clarified some comments., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 3ddc4cb 006/173: Fixed a typo., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 18be92e 011/173: Fixed keywords, defgroup groups and white-spaces., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 6f7fdfc 016/173: Updated modified date and version., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 2f21669 023/173: Added instructions for how to connect to complex servers., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 4af759a 007/173: More clarifications., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 36186d6 002/173: Replaced sync references with deploy,
Stefan Monnier <=
- [elpa] externals/ssh-deploy 952abf0 021/173: Changed reference to zdiff-tree to ztree-diff and added more checks to see if tramp-term is installed before calling it., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 3fbd479 013/173: Changed variable-name typo explicity-save to explicit-save and updated README., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 7133863 024/173: Fixed typos, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 8faa3c1 018/173: Now checks in path is in local-root before browsing remote host., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 3bbbbfb 017/173: *** empty log message ***, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy f77eba5 012/173: Updated README with proper setup example and instructions about MELPA., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 5ad07f2 008/173: Changed requirements., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 1ebf003 010/173: Formatted text a bit better., Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy ebdbb7e 014/173: Add TRAMP protocol for difference queries, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy fa368fb 020/173: Made relative path generation as stand-alone function and now checks if ztree and tramp-term is installed before trying to call them., Stefan Monnier, 2018/10/20