mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 17:00:04 +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
|
@ -9949,6 +9949,16 @@ var commands = {
|
||||||
};
|
};
|
||||||
|
|
||||||
commandConfig = {
|
commandConfig = {
|
||||||
|
hgcommit: {
|
||||||
|
regex: /^(hg +commit|hg +ci)($|\s)/,
|
||||||
|
options: [
|
||||||
|
'--amend',
|
||||||
|
'-m'
|
||||||
|
],
|
||||||
|
execute: function(engine, command) {
|
||||||
|
return commandConfig.commit.execute(engine, command);
|
||||||
|
}
|
||||||
|
},
|
||||||
commit: {
|
commit: {
|
||||||
sc: /^(gc|git ci)($|\s)/,
|
sc: /^(gc|git ci)($|\s)/,
|
||||||
regex: /^git +commit($|\s)/,
|
regex: /^git +commit($|\s)/,
|
||||||
|
@ -23837,6 +23847,16 @@ var commands = {
|
||||||
};
|
};
|
||||||
|
|
||||||
commandConfig = {
|
commandConfig = {
|
||||||
|
hgcommit: {
|
||||||
|
regex: /^(hg +commit|hg +ci)($|\s)/,
|
||||||
|
options: [
|
||||||
|
'--amend',
|
||||||
|
'-m'
|
||||||
|
],
|
||||||
|
execute: function(engine, command) {
|
||||||
|
return commandConfig.commit.execute(engine, command);
|
||||||
|
}
|
||||||
|
},
|
||||||
commit: {
|
commit: {
|
||||||
sc: /^(gc|git ci)($|\s)/,
|
sc: /^(gc|git ci)($|\s)/,
|
||||||
regex: /^git +commit($|\s)/,
|
regex: /^git +commit($|\s)/,
|
||||||
|
|
File diff suppressed because one or more lines are too long
1
build/bundle.min.d1bd189f.js
Normal file
1
build/bundle.min.d1bd189f.js
Normal file
File diff suppressed because one or more lines are too long
2
build/bundle.min.js
vendored
2
build/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -439,7 +439,7 @@
|
||||||
For a much easier time perusing the source, see the individual files at:
|
For a much easier time perusing the source, see the individual files at:
|
||||||
https://github.com/pcottle/learnGitBranching
|
https://github.com/pcottle/learnGitBranching
|
||||||
-->
|
-->
|
||||||
<script src="build/bundle.min.771b212d.js"></script>
|
<script src="build/bundle.min.d1bd189f.js"></script>
|
||||||
|
|
||||||
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
|
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
|
||||||
The downside? No raw logs to parse for analytics, so I have to include
|
The downside? No raw logs to parse for analytics, so I have to include
|
||||||
|
|
|
@ -82,6 +82,16 @@ var commands = {
|
||||||
};
|
};
|
||||||
|
|
||||||
commandConfig = {
|
commandConfig = {
|
||||||
|
hgcommit: {
|
||||||
|
regex: /^(hg +commit|hg +ci)($|\s)/,
|
||||||
|
options: [
|
||||||
|
'--amend',
|
||||||
|
'-m'
|
||||||
|
],
|
||||||
|
execute: function(engine, command) {
|
||||||
|
return commandConfig.commit.execute(engine, command);
|
||||||
|
}
|
||||||
|
},
|
||||||
commit: {
|
commit: {
|
||||||
sc: /^(gc|git ci)($|\s)/,
|
sc: /^(gc|git ci)($|\s)/,
|
||||||
regex: /^git +commit($|\s)/,
|
regex: /^git +commit($|\s)/,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue