{"action":"opened","issue":{"url":"https://api.github.com/repos/magit/magit/issues/2203","labels_url":"https://api.github.com/repos/magit/magit/issues/2203/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/2203/comments","events_url":"https://api.github.com/repos/magit/magit/issues/2203/events","html_url":"https://github.com/magit/magit/issues/2203","id":102918689,"number":2203,"title":"magit-clone complains that I am \"not inside a git repository\"","user":{"login":"djg123","id":5376966,"avatar_url":"https://avatars.githubusercontent.com/u/5376966?v=3","gravatar_id":"","url":"https://api.github.com/users/djg123","html_url":"https://github.com/djg123","followers_url":"https://api.github.com/users/djg123/followers","following_url":"https://api.github.com/users/djg123/following{/other_user}","gists_url":"https://api.github.com/users/djg123/gists{/gist_id}","starred_url":"https://api.github.com/users/djg123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djg123/subscriptions","organizations_url":"https://api.github.com/users/djg123/orgs","repos_url":"https://api.github.com/users/djg123/repos","events_url":"https://api.github.com/users/djg123/events{/privacy}","received_events_url":"https://api.github.com/users/djg123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T00:14:16Z","updated_at":"2015-08-25T00:14:16Z","closed_at":null,"body":"I opened an empty directory in dired. I would like to clone a repository from GitHub into the opened directory.\r\n\r\nSo I did: `M-x magit-clone`, then put down the address of the repository and hit enter.\r\nUnder `Clone to:` it defaulted to `CWD/NAME_OF_REPOSITORY`, and I hit enter.\r\n\r\nThe mini buffer than quickly displayed `Cloning Into` and then quickly switched to saying `Not inside a Git repository`. The repository was not installed in the directory.\r\n\r\nI tried again on the command line and which worked.\r\n\r\nI am using `GNU Emacs 24.4.1`, `Git 2.5.0`, `Ubuntu 14.04` and `magit 20150824.1010` from Melpa."}}