git基础

2018-03-07  本文已影响0人  Seaofdesire

git上传项目到github

  1. github账号
  2. 安装git-for-windows工具
  1. github创建一个仓库并复制地址
    https://github.com/licer-lee/spring-clean
  2. 本地目录下git bash here 克隆项目
  git clone https://github.com/licer-lee/spring-clean
  cd spring-clean

  1. 复制项目到spring-clean目录中
  git commit -m "注释"
  git push -u origin master

  1. 输入账户密码等待推送结果。

ps: 过程中可能需要设置user.email 和user.name

上一篇 下一篇

猜你喜欢

热点阅读