From 615af65087d94fd6474f666c1ab0e11efc65a7f5 Mon Sep 17 00:00:00 2001 From: Wanbok Choi Date: Sat, 14 May 2016 20:45:55 +0900 Subject: [PATCH] Add 'gcn!' for the '--no-edit' option. (#4830) Remove the '-s' option from 'gcan!' Add 'gcans!'. It is the same as the current 'gcan! -s'. --- plugins/git/git.plugin.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 95ce1ae2..220bf259 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -58,9 +58,11 @@ alias gbss='git bisect start' alias gc='git commit -v' alias gc!='git commit -v --amend' +alias gcn!='git commit -v --no-edit --amend' alias gca='git commit -v -a' alias gca!='git commit -v -a --amend' -alias gcan!='git commit -v -a -s --no-edit --amend' +alias gcan!='git commit -v -a --no-edit --amend' +alias gcans!='git commit -v -a -s --no-edit --amend' alias gcam='git commit -a -m' alias gcb='git checkout -b' alias gcf='git config --list'