Hi,
I think I do something wrong, but if I open my repositories folder under the tab "Git" and than click on one of my git repositories I got a list under "staged changes".
But on the tab "Github" I got the message This repository does not have any remotes hosted at Github.com. But I have published this repository under Github and managed it yet with the OSX Github App.
What do I'm wrong?
Are you using GitHub Enterprise? That's not supported currently.
Hi,
no I'm using the free Github.
Hi Janstieler,
I found your question because i ran into the same problem. I had been working on a github branch and had opened it inside atom. I was also able to see the commit options on the Git tab, but saw the same error message as you did when I went to Github (preview).
However, when I added a file in my directory, then the Github (preview) page prompted me to login to be redirected to a github page to create an authentication key to login and connect my atom to my github account. Maybe this may help.
Cheers
p.s. in case it helps, also be sure your git project is in a top level directory in the atom tree (https://github.com/atom/atom/issues/8168)
@janstieler Hello! Do you mind sharing your remotes? (They can be found in your .git/config file, if you're okay with posting the whole thing, or with the git remote -v command).
Same problem here. Adding or modifying files or restart does not help, the Github tab always shows: This repository does not have any remotes hosted at Github.com.
Output from git remote -v is:
origin git@github-rg:rudygasson/dojo_rules.git (fetch)
origin git@github-rg:rudygasson/dojo_rules.git (push)
The git tab works fine though, I can stage, pull, push etc. and show the diffs in atom.
Since I am using more than one user account with ssh I had to modify the host names in my ssh config file to be different for every user (for this user github-rg instead of github.com). Otherwise the local git config would try to use the wrong RSA key. Maybe the Github preview package has difficulties with that? I tried also with github.com as host config, but no success.
I can reproduce the behavior you mentioned @rudygasson - seems like the domain has to be github.com? I used this SSH config:
Host github-me
HostName github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
And the remote URL was:
[email protected]:rsese/test-repo.git
Pushing, pulling, etc. work fine in Atom but the GitHub package does show This repository does not have any remotes hosted at Github.com. When I switch the remote to:
[email protected]:rsese/test-repo.git
And then reload the window, the GitHub tab works ok.
I have
ggreif$ git remote -v
origin https://gist.github.com/<redacted>.git (fetch)
origin https://gist.github.com/<redacted>.git (push)
and this doesn't work either.
I have to same issue, is there any fix ? I tried restarting atom and resetting Project folder but the issue persists.
Git Diff package fully recognizes remote origin and changes in working files but GitHub does not 'see' remote repository.
You also have a remote where the domain isn't github.com @AugPro?
No @rsese , my repo is hosted on github.
I found a solution for worked for me, I manually commited using bash and Atom suddenly recognized the repository.
Sorry for the delay
I'm also having this issue. I'm working with a private repo using ssh.
git remote -v output:
origin [email protected]:hashbackio/some-private-repo.git (fetch)
origin [email protected]:hashbackio/some-private-repo.git (push)
@johnhaley81 - if you commit from the command line, does that clear things up in Atom?
It does not 鈽癸笍
I'm having the same issue. remotes look fine. git tab works as expected. github tab complains about "Repository not found for the remote origin"
origin https://github.com/SOME_USER/SOME_REPO.git (fetch)
origin https://github.com/SOME_USER/SOME_REPO.git (push)
I have the same issue, but I can add some additional detail.
If I am working on a project hosted on GitHub within my personal profile, I can use the Atom UI to view and interact with pull-requests.
However if the repository is hosted on GitHub within an organisation profile, even if it is an organisation and repository that I have access to or am an administrator then I get the error message described above that no repositories exist for this remote.
@alistairstead - since you mentioned the GitHub tab and organization repositories, can you check if the organization that owns the repository has OAuth App restrictions enabled?
https://help.github.com/articles/about-oauth-app-access-restrictions/
If this is the case, an organization owner needs to specifically approve the "GitHub for Atom" application.
@rsese - this did indeed resolve the issue. Thanks for the suggestion.
I assume the HTTP response from the API was 404 or 403 rather than 200 with an empty list of repositories of pull requests. Perhaps, in this case, the message should direct the user towards validating the authentication issue?
The missing link for me was GitHub's documentation for Requesting organization approval for an OAuth App you've already authorized for your personal account.
Before following the steps above, the Atom GitHub package was not listed, nor was there a pending request on my Organization > Settings > Third-party access page.
https://github.com/organizations/<org_name>/settings/oauth_application_policy
Since I am an organization owner, my user level request was automatically granted but I needed to refresh my User > Settings > Applications > Atom GitHub package > Organizations view to see that it had been granted, displaying a green checkmark.
I came here looking for a solution to the same problem, but it turned out it was the organization that owned the repo that needed to approve the oauth app. If the above doesn't solve your problem, give that a check at https://github.com/settings/applications
Confirmed that the solution that @ajbarry provided fixed the issue for me.
The problem I had was that my remote repo was renamed on GH and this plugin does not handle redirects.
So
git remote remove origin
git remote add origin "new origin without redirects"
Atom doesnt let you paste the token from the github website had to manuaaly enter like 30 characters
Have you signed into github either from the command palette or Terminal ?
Have you signed into github either from the command palette or Terminal ?
i just used the control v hotkey and it worked because I couldnt right click
It'd be nice to see what this feature is all about! But I've never seen it working on any machine, on any project. It always says the same "Repository not found for the remote origin" message.

I'm logged in. I've entered my key whenever new Atom installs prompted me in that panel.

debug info with package info
{
"atom": "1.35.1",
"platform": "darwin",
"release": "18.2.0",
"vmpVersion": "1.36.0",
"vmpConfig": {},
"activeCommunityPackages": [
"language-javascript-jsx: 0.3.7",
"atom-material-syntax: 1.0.8",
"aligner-javascript: 1.3.0",
"atom-ide-ui: 0.13.0",
"atom-ide-busy-signal: 0.0.0",
"atom-ide-code-actions: 0.0.0",
"atom-ide-code-format: 0.0.0",
"atom-ide-code-highlight: 0.0.0",
"atom-ide-console: 0.0.0",
"atom-ide-datatip: 0.0.0",
"atom-ide-debugger: 0.0.0",
"atom-ide-definitions: 0.0.0",
"atom-ide-diagnostics: 0.0.0",
"atom-ide-diagnostics-ui: 0.0.0",
"atom-ide-find-references: 0.0.0",
"atom-ide-global: 0.0.0",
"atom-ide-outline-view: 0.0.0",
"atom-ide-refactor: 0.0.0",
"atom-ide-signature-help: 0.0.0",
"atom-ide-terminal: 0.0.0",
"hyperclick: 0.0.0",
"atom-vim-like-tab: 1.5.1",
"autocomplete-modules: 2.2.2",
"autocomplete-paths: 2.12.2",
"better-git-blame: 0.4.7",
"busy-signal: 1.4.3",
"disable-keybindings: 0.6.0",
"docblockr: 0.13.7",
"emmet: 2.4.3",
"ex-mode-sort: 1.0.0",
"file-watcher: 1.2.6",
"git-plus: 8.1.0",
"hey-pane: 1.1.0",
"highlight-line: 0.12.0",
"highlight-selected: 0.13.1",
"imdone-atom: 2.4.29",
"indent-guide-improved: 1.4.13",
"intentions: 1.1.5",
"keystroke: 0.4.0",
"minimap: 4.29.8",
"minimap-find-and-replace: 4.5.2",
"minimap-git-diff: 4.3.1",
"minimap-highlight-selected: 4.6.1",
"minimap-linter: 2.2.1",
"minimap-pigments: 0.2.2",
"minimap-quick-highlight: 1.0.1",
"pigments: 0.40.2",
"prettier-atom: 0.56.2",
"project-plus: 1.0.0",
"quick-highlight: 0.13.0",
"split-diff: 1.4.0",
"teletype: 0.13.2",
"todo-show: 2.3.0",
"tree-view-git-status: 1.5.0",
"vim-mode-plus: 1.36.0",
"vim-mode-plus-keymaps-for-surround: 0.2.1",
"editorconfig: 2.2.2",
"language-pug: 0.0.22",
"language-jenkinsfile: 0.1.1",
"language-vue: 0.23.1",
"atom-typescript: 13.1.0",
"termination: 0.7.1",
"ex-mode: 0.18.0",
"git-blame: 1.7.0",
"file-icons: 2.1.21"
]
}
I'd really like to try it. Hope you can fix it!
But I've never seen it working on any machine, on any project.
Just to confirm, you've tried public and private repositories? E.g. if you clone https://github.com/atom/github and open the GitHub tab, do you still see the same error @trusktr?
I had a message in GitHub tab: This repository does not have any remotes on Github
When I ran git remote -v. I saw that my link with https. Then I changed to ssh with git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Just after this command was executed I saw in GitHub tab Log in to GitHub to access PR information and more!
Hope it will help!
A https url works for me:
git remote set-url origin https://github.com/$USERNAME/$REPO.git
However, if I use a git url it no longer works:
git remote set-url origin [email protected]:/$USERNAME/$REPO.git
I get the error This repository does not have any remotes hosted at Github.com
A https url works for me:
git remote set-url origin https://github.com/$USERNAME/$REPO.gitHowever, if I use a git url it no longer works:
git remote set-url origin [email protected]:/$USERNAME/$REPO.gitI get the error
This repository does not have any remotes hosted at Github.com
Actually, if you remove the first slash it works:
git remote set-url origin [email protected]:$USERNAME/$REPO.git
I have same problem and solved by adding remote below in the project folder:
git remote add remotename1 https://github.com/username/repository.git
Meanwhile, my git cannot push with this remote and my solution is :
git remote add remotename2 git@host:username/repository.git
Please be aware that host here was created with ssh key for using two github accounts at same time.
PS: For I'm using two account, so there is no global user.name/email. The two remotes were built in the project folder. If you use only one account, just add remote with https://... is enough to connect github.
@ajbarry suggestion is a "workaround", not a fix. This issue cost me a lot of time to finally find the workaround here. You need to FIX this, not marked fixed due to a workaround. Thank you for keeping this issue open until a fix is in place.
I had the same problem, you should clone you repo, and open that in atom. It should be located in your home directory.
Hi,
I think I do something wrong, but if I open my repositories folder under the tab "Git" and than click on one of my git repositories I got a list under "staged changes".
But on the tab "Github" I got the messageThis repository does not have any remotes hosted at Github.com. But I have published this repository under Github and managed it yet with the OSX Github App.
What do I'm wrong?
HELLO I JUST FIXED THIS
GO TO GitHub desktop
check where it says "open the repository in your external editor"
if it says atom.
if not change it to atom
and then open with atom

hope this helps :)
Most helpful comment
The missing link for me was GitHub's documentation for Requesting organization approval for an OAuth App you've already authorized for your personal account.
Before following the steps above, the
Atom GitHub packagewas not listed, nor was there a pending request on my Organization > Settings > Third-party access page.https://github.com/organizations/<org_name>/settings/oauth_application_policySince I am an organization owner, my user level request was automatically granted but I needed to refresh my User > Settings > Applications > Atom GitHub package > Organizations view to see that it had been granted, displaying a green checkmark.