美文网首页
本地项目上传到github

本地项目上传到github

作者: CoderYuZ | 来源:发表于2018-01-19 15:52 被阅读0次
  • 在github上创建项目
  • 本地上传
    • cd到项目文件夹
    • git init
    • git add .
    • git commit -m "写你自己想写的"
    • git remote add origin 刚才在github上创建的项目地址(输入错误或更改需要用git remote rm origin)
    • git push -u origin master
    • 按提示输入github账号密码

相关文章

网友评论

      本文标题:本地项目上传到github

      本文链接:https://www.haomeiwen.com/subject/zuaooxtx.html