diff --git a/modules/git/README.md b/modules/git/README.md index 81693f23..6e89d87e 100644 --- a/modules/git/README.md +++ b/modules/git/README.md @@ -93,6 +93,7 @@ Aliases are enabled by default. You can disable them with: ### Fetch - `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. - `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 06e47b16..79f27b21 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -77,6 +77,7 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then # Fetch (f) alias gf='git fetch' + alias gfa='git fetch --all' alias gfc='git clone' alias gfm='git pull' alias gfr='git pull --rebase'