diff --git a/modules/git/README.md b/modules/git/README.md index d8491d6..4d37cbc 100644 --- a/modules/git/README.md +++ b/modules/git/README.md @@ -102,6 +102,7 @@ Aliases are enabled by default. You can disable them with: - `gf` downloads objects and references from another repository. - `gfa` downloads objects and references from all remote repositories. - `gfc` clones a repository into a new directory. + - `gfcr` clones a repository into a new directory including all submodules. - `gfm` fetches from and merges with another repository or local branch. - `gfr` fetches from and rebases on another repository or local branch. diff --git a/modules/git/alias.zsh b/modules/git/alias.zsh index e5071a8..4a5789f 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -92,7 +92,7 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then alias gf='git fetch' alias gfa='git fetch --all' alias gfc='git clone' - alias gfcs='git clone --recurse-submodules' + alias gfcr='git clone --recurse-submodules' alias gfm='git pull' alias gfr='git pull --rebase'