Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows GitHub app not detecting README

I published my README.md via the GitHub website but when I try to sync all my local repos, it doesn't seem to detect the README.md file. However, it does download it to the local folder and is viewable within Windows explorer.

like image 713
Kyle Maclean Avatar asked Jan 14 '14 09:01

Kyle Maclean


1 Answers

I encountered this exact problem and was able to fix it.

It seems like our problem is caused by the same known issue that causes this one: GitHub for Windows is showing old README text.

The response there was

Yeah, sorry about that. It's a bug and we're working on it. It's currently cached for 30 minutes and sometimes it doesn't expire when it should.

The only way to force a refresh currently is to either delete the entire folder at %LocalAppData%\GitHub\BlobCache.api.github.com or to locate the file in that folder that holds the README content (by looking for keywords that would appear in the README for example) and deleting that.

To fix our issue, I deleted the cache content at User\AppData\Local\GitHub. I then restarted the official native Windows 8 GitHub application. The current readme text showed (and the warning that I had "no readme" disappeared).

like image 92
user3213230 Avatar answered Sep 22 '22 14:09

user3213230