Explorar el Código

make gtrack do a fetch as well

Weiyi Lou hace 13 años
padre
commit
75d3dfb6a6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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