mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue