{"action":"created","issue":{"url":"https://api.github.com/repos/magit/magit/issues/1655","repository_url":"https://api.github.com/repos/magit/magit","labels_url":"https://api.github.com/repos/magit/magit/issues/1655/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/1655/comments","events_url":"https://api.github.com/repos/magit/magit/issues/1655/events","html_url":"https://github.com/magit/magit/issues/1655","id":50525691,"number":1655,"title":"Cannot push in magit mode ","user":{"login":"rhacker","id":2028062,"avatar_url":"https://avatars.githubusercontent.com/u/2028062?v=3","gravatar_id":"","url":"https://api.github.com/users/rhacker","html_url":"https://github.com/rhacker","followers_url":"https://api.github.com/users/rhacker/followers","following_url":"https://api.github.com/users/rhacker/following{/other_user}","gists_url":"https://api.github.com/users/rhacker/gists{/gist_id}","starred_url":"https://api.github.com/users/rhacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhacker/subscriptions","organizations_url":"https://api.github.com/users/rhacker/orgs","repos_url":"https://api.github.com/users/rhacker/repos","events_url":"https://api.github.com/users/rhacker/events{/privacy}","received_events_url":"https://api.github.com/users/rhacker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magit/magit/labels/unconfirmed","name":"unconfirmed","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/magit/magit/milestones/5","html_url":"https://github.com/magit/magit/milestones/2.1.0","labels_url":"https://api.github.com/repos/magit/magit/milestones/5/labels","id":336392,"number":5,"title":"2.1.0","description":"","creator":{"login":"tarsius","id":25046,"avatar_url":"https://avatars.githubusercontent.com/u/25046?v=3","gravatar_id":"","url":"https://api.github.com/users/tarsius","html_url":"https://github.com/tarsius","followers_url":"https://api.github.com/users/tarsius/followers","following_url":"https://api.github.com/users/tarsius/following{/other_user}","gists_url":"https://api.github.com/users/tarsius/gists{/gist_id}","starred_url":"https://api.github.com/users/tarsius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarsius/subscriptions","organizations_url":"https://api.github.com/users/tarsius/orgs","repos_url":"https://api.github.com/users/tarsius/repos","events_url":"https://api.github.com/users/tarsius/events{/privacy}","received_events_url":"https://api.github.com/users/tarsius/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1282,"state":"closed","created_at":"2013-05-18T00:36:03Z","updated_at":"2015-09-24T14:00:53Z","due_on":"2015-06-30T22:00:00Z","closed_at":"2015-07-08T13:10:17Z"},"comments":3,"created_at":"2014-12-01T13:50:00Z","updated_at":"2016-10-08T16:39:15Z","closed_at":"2014-12-09T17:29:35Z","body":"Thanks for creating this amazing plugin. Regarding the error, I have the one below when I tried to push the repositories, and the same command was executed in zsh shell without a problem:\r\n\r\n```\r\ngit --no-pager -c core.preloadindex=true push -v origin master:refs/heads/master                                                   \r\nPushing to git@bitbucket.org:my-name/dotfiles.git                                                                                         \r\n                                                                                                                                       \r\nfatal: Could not read from remote repository.                                                                                          \r\n                                                                                                                                       \r\nPlease make sure you have the correct access rights                                                                                    \r\nand the repository exists.  \r\n```"},"comment":{"url":"https://api.github.com/repos/magit/magit/issues/comments/252434671","html_url":"https://github.com/magit/magit/issues/1655#issuecomment-252434671","issue_url":"https://api.github.com/repos/magit/magit/issues/1655","id":252434671,"user":{"login":"gsimard","id":1130218,"avatar_url":"https://avatars.githubusercontent.com/u/1130218?v=3","gravatar_id":"","url":"https://api.github.com/users/gsimard","html_url":"https://github.com/gsimard","followers_url":"https://api.github.com/users/gsimard/followers","following_url":"https://api.github.com/users/gsimard/following{/other_user}","gists_url":"https://api.github.com/users/gsimard/gists{/gist_id}","starred_url":"https://api.github.com/users/gsimard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsimard/subscriptions","organizations_url":"https://api.github.com/users/gsimard/orgs","repos_url":"https://api.github.com/users/gsimard/repos","events_url":"https://api.github.com/users/gsimard/events{/privacy}","received_events_url":"https://api.github.com/users/gsimard/received_events","type":"User","site_admin":false},"created_at":"2016-10-08T16:39:15Z","updated_at":"2016-10-08T16:39:15Z","body":"I had the same issue today. The root cause was emacs (where pushing didn't work) and my shell (where pushing does work) did not have the same home folder path. Therefore, magit did not have access to the .ssh folder because it was looking for it under the wrong home folder path."}}
{"actor":{"display_login":"gsimard"}}