cjohansson / emacs-ssh-deploy

A deployment plugin via Tramp for Emacs.
GNU General Public License v3.0
152 stars 6 forks source link

Need add a option use force-upload on save #67

Closed vaxilicaihouxian closed 4 years ago

vaxilicaihouxian commented 4 years ago

I know there is an option like this:

(ssh-deploy-on-explicit-save 1)

I need an option like that but with force parameter. May be ssh-deploy-force-on-explicit-save. Can you add this feature? Thx!

cjohansson commented 4 years ago

Sure, I'll add it soon

vaxilicaihouxian commented 4 years ago

Sure, I'll add it soon

Thx.

cjohansson commented 4 years ago

Added in this commit you just need to set the variable ssh-deploy-force-on-explicit-save to 1 globally, per-directory or per-file

vaxilicaihouxian commented 4 years ago

Added in this commit you just need to set the variable ssh-deploy-force-on-explicit-save to 1 globally, per-directory or per-file

Awesome!