From f15557159a0c7b8af3cb904f42644fadff3dc6a1 Mon Sep 17 00:00:00 2001 From: Sudarshan Wadkar Date: Fri, 14 Apr 2017 19:51:02 -0400 Subject: [PATCH] New `alias gfa=git fetch --all` for git module Also includes an updated README.md ! --- modules/git/README.md | 1 + modules/git/alias.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/git/README.md b/modules/git/README.md index 81693f2..6e89d87 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 06e47b1..79f27b2 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'