Auth error prompt when cloning repo from nonexistent URL
See original GitHub issueDescription
On trying to clone a repo using an incorrect URL, Desktop raises an authentication error instead of indicating that the repo wasn’t found in the user’s profile.
Version
- GitHub Desktop: 1.3.5
- Operating system: macOS High Sierra 10.13.6
Steps to Reproduce
- Click on Clone repository.
- Navigate to the URL section.
- Enter an invalid URL.
Expected Behavior
Desktop raises an error prompt stating that the provided repo URL is invalid.
Actual Behavior
Desktop goes into a loop of error prompts related to authentication. If correct username and password is provided, then the same prompt is raised again.
Additional Information
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (9 by maintainers)
Top Results From Across the Web
git clone - fail instead of prompting for credentials
This code is only invoked in the event that the git repository happens to be private, and will pipe error output stating that...
Read more >github - Git Clone - Repository not found
I faced a similar situation. The URL I used for my private repository was correct. But I was getting the same error. After...
Read more >Git with Atom - Troubleshooting/FAQ
This means that you selected a folder path that does not exist while cloning. There are two possible solutions. Either run the exact...
Read more >[Fix] 'Fatal: Repository Not Found' Error In Git
Outdated credentials in the system credential manager can also lead to this error, as it would cause the authentication to fail. Here's how...
Read more >Pipeline options for Git repositories - Azure DevOps
Options that are available when using a Git repository with Azure Pipelines. ... basic $AUTH" clone <repo URL> --no-checkout --branch master ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kanishk98 let me look into reproducing the issue on my end and figure out what changes need to be made
@kanishk98 Hi! I’m just getting up to speed here. Would love to see the PR and offer feedback! 😄 Feel free to tag me in it!