github托管代码,更新托管代码

来源:互联网 发布:东莞搜索引擎优化排名 编辑:程序博客网 时间:2024/05/22 00:34

github托管代码,更新托管代码

新建仓库托管

  • echo “# AES128” >> README.md
  • git init
  • git add README.md
  • git commit -m “first commit”
  • git remote add origin https://github.com/RicheyLee/AES128.git
  • git push -u origin master

将已有的仓库托管

  • git remote add origin https://github.com/RicheyLee/AES128.git
  • git push -u origin master

更新自己托管的代码

  • git pull
  • git push -u origin master
0 0
原创粉丝点击