README.md 文件未显示在 GitHub 概览中
README.md file not shown on GitHub Overview
我在本地创建了 git 存储库,在本地创建 README.md 文件后链接上游并将其推送到 GitHub。
但是,GitHub 概览面板未检测到该文件并提示我创建一个新文件。它会列出文件和提交消息。
有什么原因的线索吗?我确实匹配了大小写和扩展名。
显然 GitHub 没有检测到空的 README 文件,解决方法是 填充文件 .
类似问题:https://github.com/npm/npm/issues/2733
不过我觉得不应该这样,正如@mariusa 所说
Or even better, stop checking if the file is empty or not.
Either force developers to put correct documentation and make a check
for this, or stop checking if file is empty, as one can easily put a
word just to get rid of this (after googling why the heck it still
gives the README.md not found after being there).
我在本地创建了 git 存储库,在本地创建 README.md 文件后链接上游并将其推送到 GitHub。
但是,GitHub 概览面板未检测到该文件并提示我创建一个新文件。它会列出文件和提交消息。
有什么原因的线索吗?我确实匹配了大小写和扩展名。
显然 GitHub 没有检测到空的 README 文件,解决方法是 填充文件 .
类似问题:https://github.com/npm/npm/issues/2733
不过我觉得不应该这样,正如@mariusa 所说
Or even better, stop checking if the file is empty or not.
Either force developers to put correct documentation and make a check for this, or stop checking if file is empty, as one can easily put a word just to get rid of this (after googling why the heck it still gives the README.md not found after being there).