Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我是第一次学习 Git,我在 Octopress 工作。
出于某种原因,它创建了 2 篇我不想要的博客文章。最后2个。“海勒,我喜欢奶酪”,出于某种原因是空白的。这些帖子中没有内容。我不知道如何删除它们。我到处搜索,但答案无济于事。
任何想法?
这是链接:http ://danielleschechter.github.io/blog/archives/
把里面对应的帖子删掉,source/_posts重新部署就行了。
source/_posts
rm -f source/_posts/the-useless-post.md rake generate rake deploy
如果您已将其提交到 git 存储库,请先将其从存储库中删除。