1. 登录git,创建项目名称,例如jt-webservice
  2. 来到需要上传的文件目录下,例如D:/xiot-webservice
  3. 空白处右击打开对话框,选择Git Bash Here,进入git bash窗口

git上传文件操作

4.上传操作

  • $git init
  • $git add .
  • git commit -m "first commit"

 这个操作可能会报错

git上传文件操作

解决方法:

$ git config user.name "Limingxing"

$ git config user.email "[email protected]"

重新git commit -m "first commit"

 

 

相关文章:

  • 2022-01-01
  • 2021-11-15
  • 2021-12-12
  • 2021-07-02
  • 2021-08-19
  • 2021-12-21
猜你喜欢
  • 2022-03-01
  • 2021-04-19
  • 2021-12-10
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案