Эх сурвалжийг харах

add alias for raw git show command

Lots of info. Lets us easily see things like parent hashes and committer/author.
Weiyi Lou 13 жил өмнө
parent
commit
f0d9a23e8e

+ 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