mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
better demo for tmr
This commit is contained in:
parent
8e5b9b957b
commit
1d7b2bb5a1
1 changed files with 12 additions and 5 deletions
|
@ -165,14 +165,21 @@ var initDemo = function(sandbox) {
|
|||
'hg rebase -d master'
|
||||
];
|
||||
commands = commands.join(';#').split('#'); // hax
|
||||
} else if (params.hasOwnProperty('hgdemo3')) {
|
||||
} else if (params.hasOwnProperty('remoteDemo')) {
|
||||
commands = [
|
||||
'importTreeNow {"branches":{"master":{"target":"C1","id":"master"},"trunk":{"target":"C2","id":"trunk"},"feature":{"target":"C5","id":"feature"},"debug":{"target":"C4","id":"debug"}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"},"C2":{"parents":["C1"],"id":"C2"},"C3":{"parents":["C1"],"id":"C3"},"C4":{"parents":["C3"],"id":"C4"},"C5":{"parents":["C3"],"id":"C5"}},"HEAD":{"target":"feature","id":"HEAD"}}',
|
||||
'hg book',
|
||||
'delay 2000',
|
||||
'hg rebase -d trunk'
|
||||
'git clone',
|
||||
'git commit',
|
||||
'git fakeTeamwork',
|
||||
'git pull',
|
||||
'git push',
|
||||
'git commit',
|
||||
'git fakeTeamwork',
|
||||
'git pull --rebase',
|
||||
'git push',
|
||||
'levels'
|
||||
];
|
||||
commands = commands.join(';#').split('#'); // hax
|
||||
|
||||
} else if (!params.hasOwnProperty('NODEMO')) {
|
||||
commands = [
|
||||
"git help;",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue