Browse Source

make gtrack do a fetch as well

Weiyi Lou 13 years ago
parent
commit
75d3dfb6a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      zsh/omz-custom/git.zsh

+ 1 - 1
zsh/omz-custom/git.zsh

@@ -16,7 +16,7 @@ alias glp='git log -p'
 
 alias gr='git rebase'
 
-alias gtrack='git branch --set-upstream $(current_branch) origin/$(current_branch)'
+alias gtrack='git branch --set-upstream $(current_branch) origin/$(current_branch) && git fetch'
 
 # useful git plugin built-in ones include:
 #   ga, gc, gco, gb, gba, gm, grhh, ggpull, ggpush