Skip to content

Instantly share code, notes, and snippets.

@ohadschn
Created March 28, 2025 11:51
Show Gist options
  • Save ohadschn/596116cd360f2686424fcc9ccd8b2749 to your computer and use it in GitHub Desktop.
Save ohadschn/596116cd360f2686424fcc9ccd8b2749 to your computer and use it in GitHub Desktop.
learngitbranching-branches
{
"goalTreeString": "{\"branches\":{\"main\":{\"target\":\"C0\",\"id\":\"main\",\"remoteTrackingBranchID\":null},\"test\":{\"target\":\"C1\",\"id\":\"test\",\"remoteTrackingBranchID\":null}},\"commits\":{\"C0\":{\"parents\":[],\"id\":\"C0\",\"rootCommit\":true},\"C1\":{\"parents\":[\"C0\"],\"id\":\"C1\"}},\"tags\":{},\"HEAD\":{\"target\":\"test\",\"id\":\"HEAD\"}}",
"solutionCommand": "git branch test;git checkout test;git commit",
"startTree": "{\"branches\":{\"main\":{\"target\":\"C0\",\"id\":\"main\",\"remoteTrackingBranchID\":null}},\"commits\":{\"C0\":{\"parents\":[],\"id\":\"C0\",\"rootCommit\":true}},\"tags\":{},\"HEAD\":{\"target\":\"main\",\"id\":\"HEAD\"}}",
"name": {
"en_US": "branches"
},
"hint": {
"en_US": ""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment