From 3ea66642e8d86b597e6c789358b82540859b178a Mon Sep 17 00:00:00 2001 From: Lasse Peters Date: Sun, 13 Jun 2021 19:25:27 +0200 Subject: [PATCH] feat(git): Add alias for 'git checkout --recurse-submodules' (#9958) --- plugins/git/README.md | 1 + plugins/git/git.plugin.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/git/README.md b/plugins/git/README.md index 93c9cc915..e00f4cf92 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -53,6 +53,7 @@ plugins=(... git) | gcd | git checkout develop | | gcmsg | git commit -m | | gco | git checkout | +| gcor | git checkout --recurse-submodules | | gcount | git shortlog -sn | | gcp | git cherry-pick | | gcpa | git cherry-pick --abort | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index a364b6162..6664551eb 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -91,6 +91,7 @@ alias gcm='git checkout $(git_main_branch)' alias gcd='git checkout develop' alias gcmsg='git commit -m' alias gco='git checkout' +alias gcor='git checkout --recurse-submodules' alias gcount='git shortlog -sn' alias gcp='git cherry-pick' alias gcpa='git cherry-pick --abort'