目录
目录README.md

从命令行创建一个新的仓库

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin http://gitea.trustie.net/yxtwkk/KUiZGNFom.git
git push -u origin master

从命令行推送已经创建的仓库

git remote add origin http://gitea.trustie.net/yxtwkk/KUiZGNFom.git
git push -u origin master
关于

<p> http://yxtwkk.herokuapp.com/ </p> <p> <br /> </p> <p> <img src="/files/uploads/image/201710/0288edd4e4ed.png" alt="" /> </p> <p> 1.部署过程中不要忘记关联数据库,否则会报错,通过heroku logs命令查看部署日志,排查错误 </p> <p> 2.如果是在windows利用heroku部署,尽量不要使用cmd,而是用git bash 默认目录为C:\Program Files\Git </p> <p> 3.部署以后可以对项目进行更名,如果更名操作有问题,则可以通过以下命令进行更新 </p> <p> <br /> </p> <pre>git remote rm heroku git remote add heroku git@heroku.com:yourappname.git</pre> <p> <br /> </p> <p> <br /> </p>

0 B
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号