github - 将 README 更改为 Github 上的 Readme.md

标签 github

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

https://github.com/toxygene/pale

最佳答案

这可能是缓存问题,因为您的 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>

缓存键:tree-readme:2188350:07c9301...”表明该页面的内容可能会在接下来的几个小时内更新。

关于github - 将 README 更改为 Github 上的 Readme.md,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13842987/

相关文章:

git - 是否可以在 .gitconfig 中为每个通配符域配置 user.name 和 user.email?

Git - 从master更新当前分支而不提交当前分支更改

github - 在github上关注组织

git - git merge 后,这个分支落后1次提交

github - 使用 gitattributes 作为语言学家示例

github - 从托管在 GitHub 上的多个 repo 分支中获取提交

Git Ignore 不起作用,我不明白

linux - 在 GitHub 上添加了 BitBucket 存储库作为远程版本

html - Jekyll latex 没有出现在远程但出现在本地

linux - 无法将 ssh key 复制到剪贴板