"Checkout with GitHub Desktop" does nothing
See original GitHub issueI use GitHub Desktop both at work and at home. So I create a branch and then a pull request at work Then at home I go using the browser to the URL like this: https://github.com/XXXX/xxx/pull/28511 and click the “Checkout with GitHub Desktop” and nothing happens in GitHub Desktop. absolutely nothing only the log reveals something:
2021-08-27T16:02:28.906Z - info: [main] Received possible protocol arguments: 4
2021-08-27T16:02:28.906Z - info: [main] Processing protocol url
2021-08-27T16:02:29.123Z - warn: [ui] failed fetching PR for gemal/xxx/pulls/28511
Error: Not Found
at ct (C:\Users\Henrik Gemal\AppData\Local\GitHubDesktop\app-2.9.3-beta1\webpack:\app\src\lib\http.ts:178:11)
at Pt.fetchPullRequest (C:\Users\Henrik Gemal\AppData\Local\GitHubDesktop\app-2.9.3-beta1\webpack:\app\src\lib\api.ts:893:7)
at Object.fetchPullRequest (C:\Users\Henrik Gemal\AppData\Local\GitHubDesktop\app-2.9.3-beta1\webpack:\app\src\lib\stores\app-store.ts:1653:9)
at Object.openPullRequestFromUrl (C:\Users\Henrik Gemal\AppData\Local\GitHubDesktop\app-2.9.3-beta1\webpack:\app\src\ui\dispatcher\dispatcher.ts:1672:11)
at Object.openRepositoryFromUrl (C:\Users\Henrik Gemal\AppData\Local\GitHubDesktop\app-2.9.3-beta1\webpack:\app\src\ui\dispatcher\dispatcher.ts:1624:9)
2021-08-27T16:02:29.550Z - info: [main] Error report submitted
Using: Version 2.9.3-beta1 (x64)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Can I git checkout from GitHub Desktop? - Stack Overflow
To do git checkout mybranch on Github Desktop, you simply click on the dropdown menu on the upper left ...
Read more >Cloning and the GitHub desktop client
The GitHub desktop client; Cloning; Cloning a GitHub Repository to Your Local Computer; Simple models for using GitHub; Work cycle; Editing and committing ......
Read more >Checkout and switch branches - GitHub Tutorial - LinkedIn
Use git checkout to switch between repository branches. In this video, you'll learn where to find branch lists in GitHub Desktop and how...
Read more >Bring your monorepo down to size with sparse-checkout
Do commands like git checkout or git status slow to a crawl? ... for three different platforms: Android, Desktop (using Electron), and iOS....
Read more >GitHub Desktop Tutorial - Collaborate With GitHub From Your ...
There is also a Git Client wherein the developers can work on the repository offline on their local machines using git commands from...
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
@gemal I did some testing and was able to reproduce this issue. Can you confirm if you are working in a repository that is a fork?
It looks like this specifically happens when checking out a PR that was created from a fork. We previously had a bug around this (but not specific to forks) that was addressed in https://github.com/desktop/desktop/issues/12215.
Testing steps:
It looks like the app is fetching from the wrong user – it should be
desktop/desktop/pulls/12777
instead ofmahezsh
in this instance./cc @desktop/engineering for confirmation
Maybe it was a regression introduced on the web and has been fixed already 😅
Closing for now, let us know if you find a case that doesn’t work! Thanks!! 😄