mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Conflicts: README.textile tools/install.sh
This commit is contained in:
commit
915bb60eaa
167 changed files with 3916 additions and 855 deletions
|
|
@ -10,6 +10,8 @@ alias gd='git diff'
|
|||
compdef _git gd=git-diff
|
||||
alias gdc='git diff --cached'
|
||||
compdef _git gdc=git-diff
|
||||
alias gdt='git diff-tree --no-commit-id --name-only -r'
|
||||
compdef _git gdc=git diff-tree --no-commit-id --name-only -r
|
||||
alias gl='git pull'
|
||||
compdef _git gl=git-pull
|
||||
alias gup='git pull --rebase'
|
||||
|
|
@ -19,6 +21,7 @@ compdef _git gp=git-push
|
|||
alias gd='git diff'
|
||||
gdv() { git diff -w "$@" | view - }
|
||||
compdef _git gdv=git-diff
|
||||
alias gdt='git difftool'
|
||||
alias gc='git commit -v'
|
||||
compdef _git gc=git-commit
|
||||
alias gc!='git commit -v --amend'
|
||||
|
|
@ -54,6 +57,7 @@ alias gb='git branch'
|
|||
compdef _git gb=git-branch
|
||||
alias gba='git branch -a'
|
||||
compdef _git gba=git-branch
|
||||
alias gbr='git branch --remote'
|
||||
alias gcount='git shortlog -sn'
|
||||
compdef gcount=git
|
||||
alias gcl='git config --list'
|
||||
|
|
@ -73,6 +77,8 @@ alias gss='git status -s'
|
|||
compdef _git gss=git-status
|
||||
alias ga='git add'
|
||||
compdef _git ga=git-add
|
||||
alias gap='git add --patch'
|
||||
alias gaa='git add --all'
|
||||
alias gm='git merge'
|
||||
compdef _git gm=git-merge
|
||||
alias grh='git reset HEAD'
|
||||
|
|
@ -80,12 +86,24 @@ alias grhh='git reset HEAD --hard'
|
|||
alias gclean='git reset --hard && git clean -dfx'
|
||||
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
|
||||
|
||||
# Sign and verify commits with GPG
|
||||
alias gcs='git commit -S'
|
||||
compdef _git gcs=git-commit
|
||||
alias gsps='git show --pretty=short --show-signature'
|
||||
compdef _git gsps=git-show
|
||||
|
||||
# Sign and verify tags with GPG
|
||||
alias gts='git tag -s'
|
||||
compdef _git gts=git-tag
|
||||
alias gvt='git verify-tag'
|
||||
compdef _git gvt=git verify-tag
|
||||
|
||||
#remove the gf alias
|
||||
#alias gf='git ls-files | grep'
|
||||
|
||||
alias gpoat='git push origin --all && git push origin --tags'
|
||||
alias gmt='git mergetool --no-prompt'
|
||||
compdef _git gm=git-mergetool
|
||||
compdef _git gmt=git-mergetool
|
||||
|
||||
alias gg='git gui citool'
|
||||
alias gga='git gui citool --amend'
|
||||
|
|
@ -160,6 +178,3 @@ alias gignore='git update-index --assume-unchanged'
|
|||
alias gunignore='git update-index --no-assume-unchanged'
|
||||
# list temporarily ignored files
|
||||
alias gignored='git ls-files -v | grep "^[[:lower:]]"'
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue