From 02ad0032fc5d6c038fc800ec29b44c866b602b13 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 23 Dec 2020 23:26:14 -0500 Subject: magit-no-confirm: Add set-and-push This is new in Magit's 300ad559 (Optionally confirm setting and pushing to upstream or push-target, 2020-12-21). --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index 74f7468..c63f930 100644 --- a/init.el +++ b/init.el @@ -917,7 +917,10 @@ (setq magit-commit-show-diff nil) - (setq magit-no-confirm '(stage-all-changes unstage-all-changes reverse)) + (setq magit-no-confirm '(set-and-push + stage-all-changes + unstage-all-changes + reverse)) (setq magit-published-branches nil) (setq magit-remote-add-set-remote.pushDefault nil) -- cgit v1.2.3