desktop / desktop

Focus on what matters instead of fighting with Git.
https://desktop.github.com
MIT License
19.61k stars 9.37k forks source link

Report on an issue of GitHub Desktop #18497

Closed Sanda2003 closed 4 months ago

Sanda2003 commented 4 months ago

The problem

After cloning a repository on the local device, after some time, a message comes up: "Can't find the repository.".

Release version

3.3.11

Operating system

Windows 10

Steps to reproduce the behavior

No response

Log files

2024-04-22.desktop.production.log

Screenshots

No response

Additional context

No response

steveward commented 4 months ago

@Sanda2003 thanks for the issue. This can sometimes happen with larger repositories -- is this repository large in size?

I'm seeing a few errors in the log file:

2024-04-22T08:46:44.972Z - error: [ui] Error performing periodic fetch for 'Sanda2003/DataVisualization'
Error: Could not load commit: '4f8d9291b6db32f2fbbebb4204831422b0e0dc5a'
2024-04-22T08:46:51.713Z - error: [ui] `git show-ref --tags -d` exited with an unexpected code: 128.
stderr:
fatal: not a git repository (or any of the parent directories): .git
2024-04-22T08:48:45.543Z - error: [ui] Error performing periodic fetch for 'Sanda2003/DataVisualization'
GitError: This is not a git repository.

I'm wondering if there is an underlying issue with your repository. Can you go to Repository > Open in command line and run git fsck to see if it returns any errors in the output?

github-actions[bot] commented 4 months ago

Thank you for your issue! We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. We’re going to close this but don’t hesitate to reach out if you have or find the answers we need. If you answer our questions above, this issue will automatically reopen.