Browse Source

change alias to gfcr

master
Khai Do 7 years ago committed by Kaleb Elwert
parent
commit
ebae698f70
  1. 1
      modules/git/README.md
  2. 2
      modules/git/alias.zsh

1
modules/git/README.md

@ -102,6 +102,7 @@ Aliases are enabled by default. You can disable them with: @@ -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.

2
modules/git/alias.zsh

@ -92,7 +92,7 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then @@ -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'

Loading…
Cancel
Save