{"action":"created","issue":{"url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/102","repository_url":"https://api.github.com/repos/shipitjs/shipit-deploy","labels_url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/102/comments","events_url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/102/events","html_url":"https://github.com/shipitjs/shipit-deploy/issues/102","id":126094997,"number":102,"title":"pathspec 'master' did not match any file(s) known to git.","user":{"login":"sean-roberts","id":950274,"avatar_url":"https://avatars.githubusercontent.com/u/950274?v=3","gravatar_id":"","url":"https://api.github.com/users/sean-roberts","html_url":"https://github.com/sean-roberts","followers_url":"https://api.github.com/users/sean-roberts/followers","following_url":"https://api.github.com/users/sean-roberts/following{/other_user}","gists_url":"https://api.github.com/users/sean-roberts/gists{/gist_id}","starred_url":"https://api.github.com/users/sean-roberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean-roberts/subscriptions","organizations_url":"https://api.github.com/users/sean-roberts/orgs","repos_url":"https://api.github.com/users/sean-roberts/repos","events_url":"https://api.github.com/users/sean-roberts/events{/privacy}","received_events_url":"https://api.github.com/users/sean-roberts/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-12T04:22:27Z","updated_at":"2016-03-09T04:08:50Z","closed_at":"2016-01-23T09:18:03Z","body":"Ok so this is not actually an issue for me anymore but I wanted to post it here in case someone else runs into it.  I was getting the following error:\r\n\r\n>\r\nChecking out commit-ish \"master\"\r\nRunning \"git checkout master\" on local.\r\n@ error: pathspec 'master' did not match any file(s) known to git.\r\n>\r\n\r\nand what was really causing it was the task before that ran this command:\r\n>\r\nRunning \"git fetch --depth=1 shipit -p --tags\" on local.\r\n>\r\n\r\nthe command did not create the actual .git/refs/heads/master as expected but put it in an unborn type of state. \r\nTo resolve this all you needed to do was run another git fetch in that script. How I know this is, if you run `git remote show shipit` I got the following:\r\n\r\n>\r\n* remote shipit\r\n  Fetch URL: {REPO_URL}\r\n  Push  URL: {REPO_URL}\r\n  HEAD branch: master\r\n  Remote branch:\r\n    master new (next fetch will store in remotes/shipit)\r\n>\r\n\r\nand running a git fetch again in the working directory added the master ref correctly.\r\n\r\n\r\nok so that helped me there in that state. But what REALLY solved my problem is that when realized my git wasn't doing something you guys were assuming it did, that my git version must be outdated. And it was. I was running 1.8.4. Since updating to 2.6.4, my shipit scripts worked immediately as intended.\r\n\r\nThat was a real pain to figure out for me. Hopefully that will help save someone else the time.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/comments/194106226","html_url":"https://github.com/shipitjs/shipit-deploy/issues/102#issuecomment-194106226","issue_url":"https://api.github.com/repos/shipitjs/shipit-deploy/issues/102","id":194106226,"user":{"login":"sean-roberts","id":950274,"avatar_url":"https://avatars.githubusercontent.com/u/950274?v=3","gravatar_id":"","url":"https://api.github.com/users/sean-roberts","html_url":"https://github.com/sean-roberts","followers_url":"https://api.github.com/users/sean-roberts/followers","following_url":"https://api.github.com/users/sean-roberts/following{/other_user}","gists_url":"https://api.github.com/users/sean-roberts/gists{/gist_id}","starred_url":"https://api.github.com/users/sean-roberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean-roberts/subscriptions","organizations_url":"https://api.github.com/users/sean-roberts/orgs","repos_url":"https://api.github.com/users/sean-roberts/repos","events_url":"https://api.github.com/users/sean-roberts/events{/privacy}","received_events_url":"https://api.github.com/users/sean-roberts/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T04:08:50Z","updated_at":"2016-03-09T04:08:50Z","body":"I agree, @neoziro git 1.7.8+ isn't exactly true"}}