mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
add to git stuff parameters b & v to show better view, also add grepo to show URL repository
This commit is contained in:
parent
b34aee7f76
commit
f0f4937dfc
1 changed files with 4 additions and 3 deletions
|
|
@ -37,9 +37,9 @@ alias grset='git remote set-url'
|
||||||
compdef _git grset=git-remote
|
compdef _git grset=git-remote
|
||||||
alias grup='git remote update'
|
alias grup='git remote update'
|
||||||
compdef _git grset=git-remote
|
compdef _git grset=git-remote
|
||||||
alias gb='git branch'
|
alias gb='git branch -v'
|
||||||
compdef _git gb=git-branch
|
compdef _git gb=git-branch
|
||||||
alias gba='git branch -a'
|
alias gba='git branch -av'
|
||||||
compdef _git gba=git-branch
|
compdef _git gba=git-branch
|
||||||
alias gcount='git shortlog -sn'
|
alias gcount='git shortlog -sn'
|
||||||
compdef gcount=git
|
compdef gcount=git
|
||||||
|
|
@ -54,7 +54,7 @@ alias glgga='git log --graph --decorate --all'
|
||||||
compdef _git glgga=git-log
|
compdef _git glgga=git-log
|
||||||
alias glo='git log --oneline'
|
alias glo='git log --oneline'
|
||||||
compdef _git glo=git-log
|
compdef _git glo=git-log
|
||||||
alias gss='git status -s'
|
alias gss='git status -sb'
|
||||||
compdef _git gss=git-status
|
compdef _git gss=git-status
|
||||||
alias ga='git add'
|
alias ga='git add'
|
||||||
compdef _git ga=git-add
|
compdef _git ga=git-add
|
||||||
|
|
@ -65,6 +65,7 @@ alias grhh='git reset HEAD --hard'
|
||||||
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
|
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
|
||||||
alias gf='git ls-files | grep'
|
alias gf='git ls-files | grep'
|
||||||
alias gpoat='git push origin --all && git push origin --tags'
|
alias gpoat='git push origin --all && git push origin --tags'
|
||||||
|
alias grepo='echo "Repository: $(git config remote.origin.url)"'
|
||||||
|
|
||||||
# Will cd into the top of the current repository
|
# Will cd into the top of the current repository
|
||||||
# or submodule.
|
# or submodule.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue