mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
Merge pull request #1652 from z2v/master
Add useful aliases accompanying 'push/pull' activites
This commit is contained in:
commit
2d0c9e771d
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@ alias hgco='hg checkout'
|
|||
alias hgd='hg diff'
|
||||
alias hged='hg diffmerge'
|
||||
# pull and update
|
||||
alias hgi='hg incoming'
|
||||
alias hgl='hg pull -u'
|
||||
alias hglr='hg pull --rebase'
|
||||
alias hgo='hg outgoing'
|
||||
alias hgp='hg push'
|
||||
alias hgs='hg status'
|
||||
# this is the 'git commit --amend' equivalent
|
||||
|
@ -17,4 +20,4 @@ function hg_current_branch() {
|
|||
if [ -d .hg ]; then
|
||||
echo hg:$(hg branch)
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue