Ver código fonte

update `ga.` to cache rm's, `gf` on all remotes

Weiyi Lou 12 anos atrás
pai
commit
cc3aaf364b
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      zsh/omz-custom/git.zsh

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

@@ -28,7 +28,7 @@ else
 fi
 GIT_LOG_FORMAT='"format:%C(yellow)%h %Creset%ad %Cblue%an:'$DECO_COLOUR'%d %Creset%s"'
 
-alias ga.='git add .'
+alias ga.='git add -A .'
 alias gap='git add -p'
 
 alias gs='git status'
@@ -36,7 +36,7 @@ alias gd='git diff'
 alias gds='git diff --staged'
 
 alias gcob='git checkout -b'
-alias gf='git fetch --tags && git fetch --prune'
+alias gf='git fetch --all --tags && git fetch --all --prune'
 
 alias gbd='git branch -D'
 # standard log with train tracks