multiview workign

This commit is contained in:
Peter Cottle 2013-01-07 00:38:43 -08:00
parent 465b25368e
commit cad801fafe
11 changed files with 157 additions and 33 deletions

View file

@ -1,6 +1,19 @@
exports.level = {
id: 'intro1',
name: 'Introduction #1',
startDialog: {
childViews: [{
type: 'GitDemonstrationView',
options: {
beforeMarkdowns: [
'## Committing in Git',
'',
'This is whats up with ```git commit```'
],
command: 'git commit'
}
}]
},
goalTreeString: '{"branches":{"master":{"target":"C1","id":"master"},"win":{"target":"C2","id":"win"}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"},"C2":{"parents":["C1"],"id":"C2"}},"HEAD":{"target":"win","id":"HEAD"}}',
solutionCommand: 'git checkout -b win; git commit',
hint: 'Try checking out a branch named after Charlie Sheen'

View file

@ -1,5 +1,5 @@
exports.level = {
id: 'intro1',
id: 'intro2',
name: 'Introduction #1',
goalTreeString: '{"branches":{"master":{"target":"C1","id":"master"},"win":{"target":"C2","id":"win"}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"},"C2":{"parents":["C1"],"id":"C2"}},"HEAD":{"target":"win","id":"HEAD"}}',
solutionCommand: 'git checkout -b win; git commit',

View file

@ -1,5 +1,5 @@
exports.level = {
id: 'intro1',
id: 'rebase1',
name: 'Introduction #1',
goalTreeString: '{"branches":{"master":{"target":"C1","id":"master"},"win":{"target":"C2","id":"win"}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"},"C2":{"parents":["C1"],"id":"C2"}},"HEAD":{"target":"win","id":"HEAD"}}',
solutionCommand: 'git checkout -b win; git commit',

View file

@ -1,5 +1,5 @@
exports.level = {
id: 'intro1',
id: 'rebase2',
name: 'Introduction #1',
goalTreeString: '{"branches":{"master":{"target":"C1","id":"master"},"win":{"target":"C2","id":"win"}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"},"C2":{"parents":["C1"],"id":"C2"}},"HEAD":{"target":"win","id":"HEAD"}}',
solutionCommand: 'git checkout -b win; git commit',