{"action":"opened","issue":{"url":"https://api.github.com/repos/nicoespeon/gitgraph.js/issues/86","labels_url":"https://api.github.com/repos/nicoespeon/gitgraph.js/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/nicoespeon/gitgraph.js/issues/86/comments","events_url":"https://api.github.com/repos/nicoespeon/gitgraph.js/issues/86/events","html_url":"https://github.com/nicoespeon/gitgraph.js/issues/86","id":120214485,"number":86,"title":"Branch from a previous commit","user":{"login":"Martin1994","id":4104205,"avatar_url":"https://avatars.githubusercontent.com/u/4104205?v=3","gravatar_id":"","url":"https://api.github.com/users/Martin1994","html_url":"https://github.com/Martin1994","followers_url":"https://api.github.com/users/Martin1994/followers","following_url":"https://api.github.com/users/Martin1994/following{/other_user}","gists_url":"https://api.github.com/users/Martin1994/gists{/gist_id}","starred_url":"https://api.github.com/users/Martin1994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martin1994/subscriptions","organizations_url":"https://api.github.com/users/Martin1994/orgs","repos_url":"https://api.github.com/users/Martin1994/repos","events_url":"https://api.github.com/users/Martin1994/events{/privacy}","received_events_url":"https://api.github.com/users/Martin1994/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-03T16:29:36Z","updated_at":"2015-12-03T16:29:36Z","closed_at":null,"body":"These codes won't work properly:\r\n ```javascript\r\nvar graph = new GitGraph();\r\nvar master = graph.branch(\"master\");\r\nvar branch = master.branch(\"branch\");\r\nmaster.commit();\r\nbranch.commit();\r\n```\r\n\r\nShould looks like this:\r\no--o\r\n   \\-o\r\n\r\nBut looks like this:\r\no--o\r\n      \\-o\r\n\r\nMaybe Commit.branch is also needed."}}