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:
parent
6ee6a734c2
commit
8d4c705b24
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user