Desktop doesn't recognize a GitHub repository and won't push
See original GitHub issueDescription
GitHub Desktop doesn’t recognize one of my repositories as being from GitHub and fails to push. Other repositories work fine, just this one single repo has issues.
My repository is hosted at https://github.com/starkat99/ink-rs and is public. Yet when I clone the repo using Desktop, it places in the “Other” section of the repositories list, not the GitHub.com section. This wouldn’t be a problem, but somehow Desktop doesn’t recognize the remote when I try to push. Whenever I have local changes to push, if I try to use Desktop it brings up a dialog prompt as if I’m pushing a brand new repository to GitHub, asking for name, etc. Using the same name fails with an errors saying it already exists. Again, this was cloned with Desktop.
If I try to push using command line, it works. Just Desktop is failing. Since I use two-factor auth, it’s easier to use Desktop than hunt for a personal access token for command line, so I usually just use Desktop for other repositories.
Version
- GitHub Desktop: 1.14.0
- Operating system: Microsoft Windows [Version 10.0.17134.285]
Steps to Reproduce
- Clone https://github.com/starkat99/ink-rs using Desktop
- Observe ink-rs repo is placed in “Other” section of repository list, not GitHub.com section.
- Make a local commit.
- Push local changes using Desktop.
- Observe Desktop fails to push and shows a dialog for creating a new GitHub.com repo instead.
Expected Behavior
Push should work as expected on this repo.
Actual Behavior
Push will instead show a dialog to create a new GitHub.com repository instead of pushing to existing remote origin.
Additional Information
Logs
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (3 by maintainers)
Top GitHub Comments
@starkat99 you can try resetting GitHub Desktop by following these steps:
%APPDATA%\GitHub Desktop\
Let me know if that does not help either.
Thanks, that worked.