0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00

Merge pull request #4641 from WeeBull/patch-1

Use actual `commit --amend` command for Mercurial
This commit is contained in:
Marc Cornellà 2015-12-11 13:58:33 +01:00
commit 07fcbbe74c

View file

@ -14,8 +14,7 @@ alias hgo='hg outgoing'
alias hgp='hg push' alias hgp='hg push'
alias hgs='hg status' alias hgs='hg status'
alias hgsl='hg log --limit 20 --template "{node|short} | {date|isodatesec} | {author|user}: {desc|strip|firstline}\n" ' alias hgsl='hg log --limit 20 --template "{node|short} | {date|isodatesec} | {author|user}: {desc|strip|firstline}\n" '
# this is the 'git commit --amend' equivalent alias hgca='hg commit --amend'
alias hgca='hg qimport -r tip ; hg qrefresh -e ; hg qfinish tip'
# list unresolved files (since hg does not list unmerged files in the status command) # list unresolved files (since hg does not list unmerged files in the status command)
alias hgun='hg resolve --list' alias hgun='hg resolve --list'