Browse Source

New `alias gfa=git fetch --all` for git module

Also includes an updated README.md !
master
Sudarshan Wadkar 8 years ago committed by Kaleb Elwert
parent
commit
f15557159a
  1. 1
      modules/git/README.md
  2. 1
      modules/git/alias.zsh

1
modules/git/README.md

@ -93,6 +93,7 @@ Aliases are enabled by default. You can disable them with:
### Fetch ### Fetch
- `gf` downloads objects and references from another repository. - `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. - `gfc` clones a repository into a new directory.
- `gfm` fetches from and merges with another repository or local branch. - `gfm` fetches from and merges with another repository or local branch.
- `gfr` fetches from and rebases on another repository or local branch. - `gfr` fetches from and rebases on another repository or local branch.

1
modules/git/alias.zsh

@ -77,6 +77,7 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then
# Fetch (f) # Fetch (f)
alias gf='git fetch' alias gf='git fetch'
alias gfa='git fetch --all'
alias gfc='git clone' alias gfc='git clone'
alias gfm='git pull' alias gfm='git pull'
alias gfr='git pull --rebase' alias gfr='git pull --rebase'

Loading…
Cancel
Save