Git文件的线上传输初级领悟

Git 仓库导入记录

创建一个新仓库

  1. mkdir a-small-warehouse-for-novices
  2. cd a-small-warehouse-for-novices
  3. git init
  4. touch README.md
  5. git commit-m"first commit"
  6. git romote add origin https://gitee.com/shi-juntong/a-small-warehouse- for-novices.git
  7. git push -u origin master

已有仓库

  1. cd existing_git_repogit remote add origin https://gitee.com/shi-juntong/a-small-warehouse-for-novices.git
  2. git push -u origin master

猜你喜欢

转载自blog.csdn.net/weixin_51713652/article/details/109261104