把项目放在github上的步骤

打开github(https://github.com)网站,登陆网站

新建一个仓库,出现以下图片

git命令里面打以下代码

  1. git init
  2. git add README.md
  3. git commit -m "first commit"("first commit"是写自己提交的说明,即说明这次提交的什么项目或者做了什么功能)
  4. git remote add origin xxx(github仓库地址)
  5. 推送项目 git push -v origin master(完成了把项目放在github上)

猜你喜欢

转载自blog.csdn.net/weixin_41615439/article/details/83629444