mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-06 03:10:35 +01:00
new alias: grH
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
cf1c065d71
commit
ca8628d907
1 changed files with 3 additions and 0 deletions
|
|
@ -189,6 +189,9 @@ compdef _git glola=git-log
|
||||||
# Soft Reset to HEAD
|
# Soft Reset to HEAD
|
||||||
alias grh='git reset HEAD'
|
alias grh='git reset HEAD'
|
||||||
compdef _git grh=git-reset
|
compdef _git grh=git-reset
|
||||||
|
# Hard Reset
|
||||||
|
alias grH='git reset --hard'
|
||||||
|
compdef _git grH=git-reset
|
||||||
# Hard reset to HEAD
|
# Hard reset to HEAD
|
||||||
alias grhh='git reset HEAD --hard'
|
alias grhh='git reset HEAD --hard'
|
||||||
compdef _git grhh=git-reset
|
compdef _git grhh=git-reset
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue