2012-12-12 69 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