Просмотр исходного кода

change git fetch alias

Tragically, running `tags` and `prune` together makes git prune all branches. do
two fetches till this is resolved (if it will ever be).
Weiyi Lou 12 лет назад
Родитель
Сommit
bbfacbe52f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      zsh/omz-custom/git.zsh

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

@@ -7,7 +7,7 @@ alias gd='git diff'
 alias gds='git diff --staged'
 alias gds='git diff --staged'
 
 
 alias gcob='git checkout -b'
 alias gcob='git checkout -b'
-alias gf='git fetch --tags --prune'
+alias gf='git fetch --tags && git fetch --prune'
 
 
 alias gbd='git branch -D'
 alias gbd='git branch -D'