From ebae698f707c667cfd77143a1910246921041d11 Mon Sep 17 00:00:00 2001 From: Khai Do Date: Thu, 22 Jun 2017 13:18:16 -0700 Subject: [PATCH] change alias to gfcr --- modules/git/README.md | 1 + modules/git/alias.zsh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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'