mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
added alias for hub (git wrapper for github) to git plugin
This commit is contained in:
parent
d30d1f3d40
commit
7f2d31260d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
# Aliases
|
# Aliases
|
||||||
|
[[ -x $(which hub) ]] && function git(){hub "$@"}
|
||||||
alias g='git'
|
alias g='git'
|
||||||
alias gst='git status'
|
alias gst='git status'
|
||||||
alias gl='git pull'
|
alias gl='git pull'
|
||||||
|
|
@ -13,7 +14,6 @@ alias gba='git branch -a'
|
||||||
alias gcount='git shortlog -sn'
|
alias gcount='git shortlog -sn'
|
||||||
alias gcp='git cherry-pick'
|
alias gcp='git cherry-pick'
|
||||||
|
|
||||||
|
|
||||||
# Git and svn mix
|
# Git and svn mix
|
||||||
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
|
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue