Explorar el Código

add alias for raw git show command

Lots of info. Lets us easily see things like parent hashes and committer/author.
Weiyi Lou hace 13 años
padre
commit
f0d9a23e8e
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      zsh/omz-custom/git.zsh

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

@@ -23,7 +23,9 @@ alias grb='git rebase'
 alias grh='git reset --hard'
 alias grs='git reset --soft'
 
-alias gtrack='git branch --set-upstream $(current_branch) origin/$(current_branch) && git fetch'
+alias gsr='git show --format=raw'
+
+alias track='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