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

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

你可能感兴趣的:(github,更新,git,托管代码)