{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/657","labels_url":"https://api.github.com/repos/lxc/lxd/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/657/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/657/events","html_url":"https://github.com/lxc/lxd/pull/657","id":76297450,"number":657,"title":"Snapshot restore","user":{"login":"sl1pm4t","id":8053182,"avatar_url":"https://avatars.githubusercontent.com/u/8053182?v=3","gravatar_id":"","url":"https://api.github.com/users/sl1pm4t","html_url":"https://github.com/sl1pm4t","followers_url":"https://api.github.com/users/sl1pm4t/followers","following_url":"https://api.github.com/users/sl1pm4t/following{/other_user}","gists_url":"https://api.github.com/users/sl1pm4t/gists{/gist_id}","starred_url":"https://api.github.com/users/sl1pm4t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sl1pm4t/subscriptions","organizations_url":"https://api.github.com/users/sl1pm4t/orgs","repos_url":"https://api.github.com/users/sl1pm4t/repos","events_url":"https://api.github.com/users/sl1pm4t/events{/privacy}","received_events_url":"https://api.github.com/users/sl1pm4t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-14T09:26:42Z","updated_at":"2015-05-14T14:59:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lxc/lxd/pulls/657","html_url":"https://github.com/lxc/lxd/pull/657","diff_url":"https://github.com/lxc/lxd/pull/657.diff","patch_url":"https://github.com/lxc/lxd/pull/657.patch"},"body":"First drop of snapshot restore functionality. \r\nI'd still like to add tests and optimizations for btrfs etc."},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/102063605","html_url":"https://github.com/lxc/lxd/pull/657#issuecomment-102063605","issue_url":"https://api.github.com/repos/lxc/lxd/issues/657","id":102063605,"user":{"login":"tych0","id":785111,"avatar_url":"https://avatars.githubusercontent.com/u/785111?v=3","gravatar_id":"","url":"https://api.github.com/users/tych0","html_url":"https://github.com/tych0","followers_url":"https://api.github.com/users/tych0/followers","following_url":"https://api.github.com/users/tych0/following{/other_user}","gists_url":"https://api.github.com/users/tych0/gists{/gist_id}","starred_url":"https://api.github.com/users/tych0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tych0/subscriptions","organizations_url":"https://api.github.com/users/tych0/orgs","repos_url":"https://api.github.com/users/tych0/repos","events_url":"https://api.github.com/users/tych0/events{/privacy}","received_events_url":"https://api.github.com/users/tych0/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T14:59:22Z","updated_at":"2015-05-14T14:59:22Z","body":"Yep, probably the easiest thing to do is:\r\n\r\n```\r\ngit co -b snapshot_restore_pending\r\ngit branch -D snapshot_restore\r\ngit co master\r\ngit pull\r\ngit co -b snapshot_restore\r\ngit cherry-pick snapshot_restore_pending\r\ngit push -f remote snapshot_restore\r\n```"}}