mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
add the first hg command
This commit is contained in:
parent
ecbe9cb19a
commit
acf9c3c657
6 changed files with 33 additions and 3 deletions
|
@ -82,6 +82,16 @@ var commands = {
|
|||
};
|
||||
|
||||
commandConfig = {
|
||||
hgcommit: {
|
||||
regex: /^(hg +commit|hg +ci)($|\s)/,
|
||||
options: [
|
||||
'--amend',
|
||||
'-m'
|
||||
],
|
||||
execute: function(engine, command) {
|
||||
return commandConfig.commit.execute(engine, command);
|
||||
}
|
||||
},
|
||||
commit: {
|
||||
sc: /^(gc|git ci)($|\s)/,
|
||||
regex: /^git +commit($|\s)/,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue