You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugConfirmed bugs or reports that are very likely to be bugsinvestigation-neededLikely bugs, but haven't been reliably reproduced by a reviewerpriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
The problem is that the Github Desktop app gets stuck at "Fetching origin" whenever I leave my macbook on (lid closed) overnight. In the morning if the Github Desktop app is still running, it would be stuck at "Fetching origin" no way to fix this, the only option is to restart it.
Could you upload the log file from GitHub Desktop so that I could get some more information about this error? To access the log files go to the file menu in GitHub Desktop and select Help > Show Logs.
The log files are created daily -- please upload a log file as an attachment from a day where you experienced the issue.
Could you upload the log file from GitHub Desktop so that I could get some more information about this error? To access the log files go to the file menu in GitHub Desktop and select Help > Show Logs. The log files are created daily -- please upload a log file as an attachment from a day where you experienced the issue.
2025-02-11T15:28:30.272Z - info: [ui] [fetchRepoRulesForBranch] unable to fetch repo rules for branch: develop | repos/XXXX/XXXX/rules/branches/develop
Error: Upgrade to GitHub Pro or make this repository public to enable this feature.
I specify that the problem is on any private deposit (Deposit on my account, or deposit of an orga to which I am admin)
Just fyi, "Error: Upgrade to GitHub Pro or make this repository public to enable this feature." is not related to the fetch button. That is simply a information log that we log when we attempt to fetch repo rules and were unable. This informs whether we show that feature or not.
Same issue for me - only fix is to restart GH Desktop. I've uploaded logs from the previous day and from today - my laptop was open for a long time last night before closing so as mentioned above maybe that has something to do with it.
Just to briefly touch back on this, those outputs to verify that the underlying fetch call in git is hung and so GitHub Desktop is doing as is expected and waiting for it. That said, It would be ideal to figure out why git is getting hung and be able to reproduce so we can see if GitHub Desktop "should" work around it or if it needs to be fixed in git.
I face this issue on Mac on daily basis. After the Mac sleep the whole night, on the next morning, Github Desktop will stuck on the Fetching Origin. connection is using SSH to github. private repo. the only solution is to exit Github Desktop, and start again.
Annoying solution, but good enough as workaround. If the git-fetch is not responding for a few seconds (30 seconds maybe?) , I think Github Desktop should be able to just kill it and start a new one
bugConfirmed bugs or reports that are very likely to be bugsinvestigation-neededLikely bugs, but haven't been reliably reproduced by a reviewerpriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
Activity
sergiou87 commentedon Feb 7, 2025
Could you upload the log file from GitHub Desktop so that I could get some more information about this error? To access the log files go to the file menu in GitHub Desktop and select Help > Show Logs.
The log files are created daily -- please upload a log file as an attachment from a day where you experienced the issue.
salalaslam commentedon Feb 9, 2025
2025-02-09.desktop.production.log
deathart commentedon Feb 11, 2025
Hello, Same error and same logs for me
I specify that the problem is on any private deposit (Deposit on my account, or deposit of an orga to which I am admin)
tidy-dev commentedon Feb 11, 2025
Just fyi, "Error: Upgrade to GitHub Pro or make this repository public to enable this feature." is not related to the fetch button. That is simply a information log that we log when we attempt to fetch repo rules and were unable. This informs whether we show that feature or not.
tidy-dev commentedon Feb 11, 2025
@salalaslam or @deathart wondering if switching branches or switching repositories clears the erroneous fetching state?
deathart commentedon Feb 11, 2025
Yes, if I change branch or depot while it's stuck in fetch, the problem persists.
M'y account is Pro and m'y private dépôt as same problem
jeffcstock commentedon Feb 12, 2025
Same issue for me - only fix is to restart GH Desktop. I've uploaded logs from the previous day and from today - my laptop was open for a long time last night before closing so as mentioned above maybe that has something to do with it.
2025-02-11.desktop.production.log
2025-02-12.desktop.production.log
13 remaining items
tidy-dev commentedon Apr 15, 2025
Just to briefly touch back on this, those outputs to verify that the underlying
fetchcall ingitis hung and so GitHub Desktop is doing as is expected and waiting for it. That said, It would be ideal to figure out whygitis getting hung and be able to reproduce so we can see if GitHub Desktop "should" work around it or if it needs to be fixed ingit.Rey-Wang commentedon Jan 15, 2026
is there any updates with this?
arnassavickas commentedon Jan 15, 2026
I'm still affected by this issue.
benyu7 commentedon Feb 19, 2026
Same
pedrobatista-vestas commentedon Sep 18, 2026
Any update?
Stop a background fetch left hanging by sleep
sharuzzaman commentedon Nov 25, 2026
I face this issue on Mac on daily basis. After the Mac sleep the whole night, on the next morning, Github Desktop will stuck on the Fetching Origin. connection is using SSH to github. private repo. the only solution is to exit Github Desktop, and start again.
Annoying solution, but good enough as workaround. If the git-fetch is not responding for a few seconds (30 seconds maybe?) , I think Github Desktop should be able to just kill it and start a new one