Skip to content

Instantly share code, notes, and snippets.

@eatdrinksleepcode
Created March 25, 2016 04:10
Show Gist options
  • Select an option

  • Save eatdrinksleepcode/51bec3351f6e2f395f52 to your computer and use it in GitHub Desktop.

Select an option

Save eatdrinksleepcode/51bec3351f6e2f395f52 to your computer and use it in GitHub Desktop.
You must unlearn what you have learned...
{
"goalTreeString": "{\"branches\":{\"master\":{\"target\":\"C1\",\"id\":\"master\",\"remoteTrackingBranchID\":null}},\"commits\":{\"C0\":{\"parents\":[],\"id\":\"C0\",\"rootCommit\":true},\"C1\":{\"parents\":[\"C0\"],\"id\":\"C1\"},\"C2\":{\"parents\":[\"C1\"],\"id\":\"C2\"},\"C3\":{\"parents\":[\"C2\"],\"id\":\"C3\"},\"C4\":{\"parents\":[\"C2\"],\"id\":\"C4\"},\"C5\":{\"parents\":[\"C4\"],\"id\":\"C5\"},\"C6\":{\"parents\":[\"C4\"],\"id\":\"C6\"},\"C7\":{\"parents\":[\"C6\"],\"id\":\"C7\"},\"C8\":{\"parents\":[\"C7\"],\"id\":\"C8\"},\"C9\":{\"parents\":[\"C8\"],\"id\":\"C9\"}},\"tags\":{},\"HEAD\":{\"target\":\"master\",\"id\":\"HEAD\"}}",
"solutionCommand": "git branch -d storyA;git branch -d feedback;git checkout master;git branch -d storyB;git reset C1",
"startTree": "{\"branches\":{\"master\":{\"target\":\"C3\",\"id\":\"master\",\"remoteTrackingBranchID\":null},\"storyA\":{\"target\":\"C4\",\"id\":\"storyA\",\"remoteTrackingBranchID\":null},\"feedback\":{\"target\":\"C5\",\"id\":\"feedback\",\"remoteTrackingBranchID\":null},\"storyB\":{\"target\":\"C9\",\"id\":\"storyB\",\"remoteTrackingBranchID\":null}},\"commits\":{\"C0\":{\"parents\":[],\"id\":\"C0\",\"rootCommit\":true},\"C1\":{\"parents\":[\"C0\"],\"id\":\"C1\"},\"C2\":{\"parents\":[\"C1\"],\"id\":\"C2\"},\"C3\":{\"parents\":[\"C2\"],\"id\":\"C3\"},\"C4\":{\"parents\":[\"C2\"],\"id\":\"C4\"},\"C5\":{\"parents\":[\"C4\"],\"id\":\"C5\"},\"C6\":{\"parents\":[\"C4\"],\"id\":\"C6\"},\"C7\":{\"parents\":[\"C6\"],\"id\":\"C7\"},\"C8\":{\"parents\":[\"C7\"],\"id\":\"C8\"},\"C9\":{\"parents\":[\"C8\"],\"id\":\"C9\"}},\"tags\":{},\"HEAD\":{\"target\":\"storyB\",\"id\":\"HEAD\"}}",
"name": {
"en_US": "You must unlearn what you have learned..."
},
"hint": {
"en_US": ""
},
"startDialog": {
"en_US": {
"childViews": [
{
"type": "ModalAlert",
"options": {
"markdowns": [
"It is easy and useful to think of a branch as a container for commits.",
"",
"Easy, useful...and wrong!"
]
}
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment