{"action":"created","issue":{"url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/47","labels_url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/47/comments","events_url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/47/events","html_url":"https://github.com/shipitjs/shipit-deploy/issues/47","id":66016929,"number":47,"title":"Fail on deploy:update with branch config set","user":{"login":"scottzirkel","id":1329131,"avatar_url":"https://avatars.githubusercontent.com/u/1329131?v=3","gravatar_id":"","url":"https://api.github.com/users/scottzirkel","html_url":"https://github.com/scottzirkel","followers_url":"https://api.github.com/users/scottzirkel/followers","following_url":"https://api.github.com/users/scottzirkel/following{/other_user}","gists_url":"https://api.github.com/users/scottzirkel/gists{/gist_id}","starred_url":"https://api.github.com/users/scottzirkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottzirkel/subscriptions","organizations_url":"https://api.github.com/users/scottzirkel/orgs","repos_url":"https://api.github.com/users/scottzirkel/repos","events_url":"https://api.github.com/users/scottzirkel/events{/privacy}","received_events_url":"https://api.github.com/users/scottzirkel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-02T21:41:49Z","updated_at":"2015-04-06T19:06:18Z","closed_at":null,"body":"When deploying from a specified git branch, I get the following error:\r\n```\r\nRelease path created.\r\nSetting current revision and creating revision file.\r\nRunning \"git rev-parse BRANCH\" on local.\r\n@ fatal: ambiguous argument 'BRANCH': unknown revision or path not in the working tree.\r\n```\r\n\r\nObviously BRANCH is the place holder for my branch name.\r\nI remove the branch option from the initConfig and it works fine."},"comment":{"url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/comments/90200660","html_url":"https://github.com/shipitjs/shipit-deploy/issues/47#issuecomment-90200660","issue_url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/47","id":90200660,"user":{"login":"scottzirkel","id":1329131,"avatar_url":"https://avatars.githubusercontent.com/u/1329131?v=3","gravatar_id":"","url":"https://api.github.com/users/scottzirkel","html_url":"https://github.com/scottzirkel","followers_url":"https://api.github.com/users/scottzirkel/followers","following_url":"https://api.github.com/users/scottzirkel/following{/other_user}","gists_url":"https://api.github.com/users/scottzirkel/gists{/gist_id}","starred_url":"https://api.github.com/users/scottzirkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottzirkel/subscriptions","organizations_url":"https://api.github.com/users/scottzirkel/orgs","repos_url":"https://api.github.com/users/scottzirkel/repos","events_url":"https://api.github.com/users/scottzirkel/events{/privacy}","received_events_url":"https://api.github.com/users/scottzirkel/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T19:06:18Z","updated_at":"2015-04-06T19:06:18Z","body":"Oh, BRANCH in the first code was my branch name. I just renamed it BRANCH for readability. Sorry."}}