【发布时间】:2014-06-25 08:10:52
【问题描述】:
我想在 Heroku 上构建 wordpress,如下文章:
这是在 Heroku 的 Cedar 堆栈上运行 WordPress.org 安装的分步教程:
- 创建 GitHub 存储库
-
然后使用 GitHub 作为源的上游创建本地存储库。基本上就像它在新的回购页面上所说的那样:
cd REPO-NAME # Create the readme file... use your favorite editor. # Put in something informative mate README.markdown git add . git remote add origin git@github.com:brookr/REPO-NAME.git git push -u origin master
我已经下载了 Cygwin,安装了 Git。
- 我根据https://help.github.com/articles/create-a-repo创建了GitHub repo
-
mate README.markdown不起作用。
我该怎么做?
【问题讨论】:
-
教程有误。大错特错。在您执行
git add .之后,您需要使用git commit提交,然后再尝试使用git push推送任何内容。 -
您能否按照我的回答中的建议,让它与其他编辑器一起使用?
标签: wordpress git heroku github