Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
07fcbbe7
Commit
07fcbbe7
authored
Dec 11, 2015
by
Marc Cornellà
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4641 from WeeBull/patch-1
Use actual `commit --amend` command for Mercurial
parents
0cca3c0d
b57ddd6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
mercurial.plugin.zsh
plugins/mercurial/mercurial.plugin.zsh
+1
-2
No files found.
plugins/mercurial/mercurial.plugin.zsh
View file @
07fcbbe7
...
@@ -14,8 +14,7 @@ alias hgo='hg outgoing'
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment