adds alias to fetch upstream changes

git pull, push, and merge have aliases for working with upstream remotes, seems useful for fetch to include the same.
This commit is contained in:
Joshua Bailey 2016-12-02 06:15:12 -05:00 committed by GitHub
parent 6ee6a734c2
commit 8d4c705b24

View File

@ -94,6 +94,7 @@ compdef _git gdv=git-diff
alias gf='git fetch'
alias gfa='git fetch --all --prune'
alias gfo='git fetch origin'
alias gfu='git fetch upstream'
function gfg() { git ls-files | grep $@ }
compdef _grep gfg