Ver Fonte

Update git tracking alias

Also:
 - Update submodules.
Weiyi Lou há 11 anos atrás
pai
commit
c685f1852b
3 ficheiros alterados com 3 adições e 3 exclusões
  1. 1 1
      tmux/rainbarf
  2. 1 1
      zsh/oh-my-zsh
  3. 1 1
      zsh/omz-custom/git.zsh

+ 1 - 1
tmux/rainbarf

@@ -1 +1 @@
-Subproject commit 4f3a69121251e3328aff261d8f0e0e33480ba805
+Subproject commit 13e145d56693c7ea45ffcfb79bf7fc8150bfb375

+ 1 - 1
zsh/oh-my-zsh

@@ -1 +1 @@
-Subproject commit eafd5f325208421b82a770e57441dd1063eb5745
+Subproject commit 3913106b2e7127d396f27b652df812340ec0c871

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

@@ -74,7 +74,7 @@ alias gsmup='git submodule sync && git submodule update --init'
 alias gsmpull='git submodule foreach git pull origin master'
 
 # useful if you forget to setup tracking for a new branch when checking out.
-alias track='git branch --set-upstream $(current_branch) origin/$(current_branch) && git fetch'
+alias track='git branch --set-upstream-to origin/$(current_branch) && git fetch'
 
 # useful omz git plugin ones include:
 #   ga, gc, gco, gb, gba, gm, grhh, ggpull, ggpush