mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
reworked git plugin alias
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
6fa7ade8a9
commit
e135ddfb1d
3 changed files with 15 additions and 14 deletions
|
|
@ -72,7 +72,7 @@ alias gm='git merge'
|
|||
compdef _git gm=git-merge
|
||||
alias grh='git reset HEAD'
|
||||
alias grhh='git reset HEAD --hard'
|
||||
alias gclean='git reset --hard && git clean -dfx'
|
||||
alias gclean='(cd $(git rev-parse --show-toplevel) && git reset --hard && git clean -dfx)'
|
||||
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
|
||||
|
||||
#remove the gf alias
|
||||
|
|
@ -156,5 +156,5 @@ alias gunignore='git update-index --no-assume-unchanged'
|
|||
# list temporarily ignored files
|
||||
alias gignored='git ls-files -v | grep "^[[:lower:]]"'
|
||||
|
||||
|
||||
alias tiga='tig --all'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue