From d646884add277d134235a9b18ab755388d6e0d8d Mon Sep 17 00:00:00 2001 From: "Babak K. Shandiz" Date: Mon, 3 May 2021 20:05:13 +0430 Subject: [PATCH] feat(git): add aliases `gcas` and `gcasm` for commit with sign-off (#8881) --- plugins/git/README.md | 2 ++ plugins/git/git.plugin.zsh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/plugins/git/README.md b/plugins/git/README.md index 6ad19543e..4f051db8d 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -41,6 +41,8 @@ plugins=(... git) | gcan! | git commit -v -a --no-edit --amend | | gcans! | git commit -v -a -s --no-edit --amend | | gcam | git commit -a -m | +| gcas | git commit -a -s | +| gcasm | git commit -a -s -m | | gcsm | git commit -s -m | | gcb | git checkout -b | | gcf | git config --list | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index e815d0787..35ebfbfa3 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -80,6 +80,8 @@ 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 gcsm='git commit -s -m' +alias gcas='git commit -a -s' +alias gcasm='git commit -a -s -m' alias gcb='git checkout -b' alias gcf='git config --list' alias gcl='git clone --recurse-submodules'