2012-12-12 142 views
2

当我在github上创建项目时,我设置了一个README文件,该文件现在出现在项目页面上。我决定切换到Readme.md,所以我可以添加一些格式,但github仍然显示原始的README文件。我尝试删除自述文件并删除自述文件和Readme.md,然后重新添加Readme.md,但原始自述文件仍在项目页面上。在Github上将README更改为Readme.md

https://github.com/toxygene/pale

回答

2

这可能是一个缓存的问题,因为你的GitHub项目页面的源代码包括:

<!-- readme cache key: tree-readme:2188350:07c93010a313c998bb0d7c69f54b7d50525ca75e --> 
<div id="readme" class="clearfix announce instapaper_body "> 
    <span class="name"><span class="mini-icon mini-icon-readme"></span> README</span> 
    <div class="plain"><pre># Pale 

Pale is a simple PHP library that allows a developer to easily convert errors to exceptions without having to worry about the details of changing and restoring error handlers. 

## Usage 
```php 
use Pale; 
try { 
    Pale\run(function() { 
     trigger_error(&quot;this will become an exception&quot;); 
    }); 
} catch(ErrorException $e) { 
    var_dump($e); 
} 
``` 
</pre></div> 

的“cache key: tree-readme:2188350:07c9301...”,这表明页面的内容可能会在未来的更新几个小时后。

+0

花了48小时,但它终于切换到使用Readme.md文件。 – Toxygene

+0

@Toxygene darn ...很长。也许这与他们最近的问题有关? (https://status.github.com/messages: ** 2012年12月12日** '13:53 UTC我们正在调查问题到达GitHub.com', ** 2012年12月11日** '23: 36 UTC我们已经确定了停电的原因,并且正在应用该修复程序.', '23:09 UTC我们的API目前正在停机,很快会有更多的细节.',...) – VonC