Github 基础操作(持续更新)

本版块持续更新有关Github的基础操作命令

1. 将本地文件上传到Github仓库中

  1. cd [dirname]
  2. type the command in Ubuntu terminal echo "# project_name" >> README.md
  3. type the command git initto set up a new .git folder in the current content.
  4. git add . to contain all the stuffs
  5. git commit -m "some paraphrases"
  6. create a new repository in Github
  7. git remote add origin https://github.com//helloworld.git
  8. git push -u origin master

你可能感兴趣的:(科研,Github)