From 8d4c705b249cab42f347109c240c5364ca610f0e Mon Sep 17 00:00:00 2001 From: Joshua Bailey Date: Fri, 2 Dec 2016 06:15:12 -0500 Subject: [PATCH] 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. --- plugins/git/git.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 9d8e4174..cbf83baf 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -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