{"action":"opened","issue":{"url":"https://api.github.com/repos/Carthage/Carthage/issues/796","labels_url":"https://api.github.com/repos/Carthage/Carthage/issues/796/labels{/name}","comments_url":"https://api.github.com/repos/Carthage/Carthage/issues/796/comments","events_url":"https://api.github.com/repos/Carthage/Carthage/issues/796/events","html_url":"https://github.com/Carthage/Carthage/issues/796","id":108136576,"number":796,"title":"Issue fetching a private repo on GitHub","user":{"login":"Baza207","id":1707598,"avatar_url":"https://avatars.githubusercontent.com/u/1707598?v=3","gravatar_id":"","url":"https://api.github.com/users/Baza207","html_url":"https://github.com/Baza207","followers_url":"https://api.github.com/users/Baza207/followers","following_url":"https://api.github.com/users/Baza207/following{/other_user}","gists_url":"https://api.github.com/users/Baza207/gists{/gist_id}","starred_url":"https://api.github.com/users/Baza207/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baza207/subscriptions","organizations_url":"https://api.github.com/users/Baza207/orgs","repos_url":"https://api.github.com/users/Baza207/repos","events_url":"https://api.github.com/users/Baza207/events{/privacy}","received_events_url":"https://api.github.com/users/Baza207/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-24T14:01:51Z","updated_at":"2015-09-24T14:01:51Z","closed_at":null,"body":"I've been trying to use Carthage to get a private repo I use for most of my project, lets call it `MyPrivateKit`.\r\n\r\nI've tried adding it to the Cartfile but everything I try I get the following response.\r\n\r\n```\r\n*** Fetching MyPrivateKit\r\nA shell task failed with exit code 128:\r\nfatal: Not a git repository (or any of the parent directories): .git\r\n```\r\n\r\nThe different way's I've tried adding it to the Cartfile are listed below:\r\n- `github \"FrostlightSolutions/FrostKit\" ~> 0.6`\r\n- `git \"https://<Username>@github.com/<organisation>/MyPrivateKit\" ~> 0.6`\r\n- `git \"https://<Username>@github.com/<organisation>/MyPrivateKit.git\" ~> 0.6`\r\n\r\nI'm sure I probably need to state my password or token for the repo somewhere, but I'm not sure where. KeychainAccess has the token in it, so I'm not sure where to try next. I obviously don't want it in a file that gets pushed, so I'm sure I shouldn't add it to the Cartfile, even if I know how."}}