{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/5529","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/5529/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/5529/comments","events_url":"https://api.github.com/repos/electron/electron/issues/5529/events","html_url":"https://github.com/electron/electron/issues/5529","id":154837718,"number":5529,"title":"fatal: reference is not a tree","user":{"login":"ficristo","id":10583268,"avatar_url":"https://avatars.githubusercontent.com/u/10583268?v=3","gravatar_id":"","url":"https://api.github.com/users/ficristo","html_url":"https://github.com/ficristo","followers_url":"https://api.github.com/users/ficristo/followers","following_url":"https://api.github.com/users/ficristo/following{/other_user}","gists_url":"https://api.github.com/users/ficristo/gists{/gist_id}","starred_url":"https://api.github.com/users/ficristo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ficristo/subscriptions","organizations_url":"https://api.github.com/users/ficristo/orgs","repos_url":"https://api.github.com/users/ficristo/repos","events_url":"https://api.github.com/users/ficristo/events{/privacy}","received_events_url":"https://api.github.com/users/ficristo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-14T06:32:19Z","updated_at":"2016-05-14T13:32:17Z","closed_at":"2016-05-14T13:08:12Z","body":"* Electron version: current master\r\n* Operating system: Windows 7\r\n\r\nRunning this command in cmd `python script\\bootstrap.py -v --dev --target_arch=x64` it fails:\r\n```\r\ngit submodule update --init --recursive\r\nfatal: reference is not a tree: 549e55a22765ccf99e46b419b2dff6338bcac64a\r\nUnable to checkout '549e55a22765ccf99e46b419b2dff6338bcac64a' in submodule path\r\n'vendor/brightray/vendor/gyp'\r\nFailed to recurse into submodule path 'vendor/brightray'\r\n```"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/219220581","html_url":"https://github.com/electron/electron/issues/5529#issuecomment-219220581","issue_url":"https://api.github.com/repos/electron/electron/issues/5529","id":219220581,"user":{"login":"zcbenz","id":639601,"avatar_url":"https://avatars.githubusercontent.com/u/639601?v=3","gravatar_id":"","url":"https://api.github.com/users/zcbenz","html_url":"https://github.com/zcbenz","followers_url":"https://api.github.com/users/zcbenz/followers","following_url":"https://api.github.com/users/zcbenz/following{/other_user}","gists_url":"https://api.github.com/users/zcbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/zcbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcbenz/subscriptions","organizations_url":"https://api.github.com/users/zcbenz/orgs","repos_url":"https://api.github.com/users/zcbenz/repos","events_url":"https://api.github.com/users/zcbenz/events{/privacy}","received_events_url":"https://api.github.com/users/zcbenz/received_events","type":"User","site_admin":true},"created_at":"2016-05-14T13:32:17Z","updated_at":"2016-05-14T13:32:17Z","body":"You can probably remove the repo and then clone it again, git is really bad at handling submodule URL changes."}}