New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github app cant locate local repository #6230
Comments
@LLIaMaHa thanks for the report!
This was a change we made in #5053 to address a previous limitation with reading the status of a repository #2449 - previously it would error after encountering a With that change we can see how many bytes are available before we read it in. We set the limit to 20MB as that seemed like a reasonable upper bound at the time. It looks like your example repository is over 34MB of output from As a workaround, if you make the first commit using the Git command line and then drag-and-drop the repository into the application again, that should get you back to a good place. |
Marking this as a P3 bug because I think we can make this a friendlier experience than marking the repository as missing. |
I am facing the same issue today. this tool becomes useless when we are dealing with large repo's such as android source repo's. i am surprise to see that other clients like Gitbash GUI works fine with 30k plus detection with out any issue. |
For anyone else like me who is unfamiliar with git command line, here's a reference for the suggested remedy above: This suggestion didn't work for me, simply getting the same log message:
|
So basically github is not a good place to do mobile/web/game development especially large scale applications. Why am I paying for this? scratches head Why has this bug been open for several years??? wtf |
This continues to be an issue. |
I faced this today |
Yep, still an issue. Absolutely ridiculous and completely unprofessional. |
Yea the UX here is frustrating. I was switching to an old branch with a lot of new untracked changes for that branch and github desktop just loses sight of my repository. I think the failure should really just report itself instead of closing out of the repository. |
Still running into this issue in 2023, I'm astonished that this has been a known issue since 2018. Could you please consider reprioritizing this? Even if it only affects a small number of users, it completely breaks the program for us so it's fairly severe in nature. At the very least, improving the error message so that it warns the user there are too many untracked files? |
whats the fix to deal with this? |
When this error occurs, the root cause is that there are too many untracked files in the GitHub repository for GitHub Desktop to handle. According to Google, an "untracked file" is a "file that is not currently managed by Git". My simple understanding is that these are unignored files that Git sees as as newly added and would appear in "Changes" with a + icon: For more context, GitHub Desktop internally calls The fix is to manually address the untracked files in your repo. You can get a sense of what's going on in your repo by manually calling Here's some ways I can think of addressing the untracked files, i.e. the files that could be applicable to the next commit:
Once the untracked files have been addressed, GitHub Desktop should work again. Hopefully this helps! |
When i add a lot new files to local repo folder, i saw in GitHub app err "Cant find <repository name>", i point on it again with clicking on button "locate" and chosing folder, but app still showing me that error. When i look on logs i saw that :
"error: [ui] 'git status' emitted 35835948 bytes, which is beyond the supported threshold of 20000000 bytes"
Please make the error message in this case more informative and understandable to the user, cause i realy dnt understand why application missed local repo and cant find it, even if i locate folder again. "Cant find..." is wrong in that case, it's not saying user, what actually is wrong.
The text was updated successfully, but these errors were encountered: