1,首先在github上面创建一个仓库

简单使用git上传代码

 

2,在本地目录中右击,选择git bash

 

3,将github上的仓库克隆到本地目录,(这个就是您的仓库)

 git clone https://github.com/KeKangShui/drill_src.git

本地会生成一个drill_src目录,把需要上传的文件全部移动到该目录下面

4,cd drill_src 切换到这个目录下, 

  git add .  把所有目录添加进来

5,git commit -m "first commit"

6,git push -u origin master

7,按照提示输入用户名和密码即可。

相关文章:

  • 2021-11-29
  • 2021-07-29
  • 2021-12-14
  • 2021-12-27
  • 2021-09-10
  • 2021-08-22
猜你喜欢
  • 2021-03-29
  • 2021-08-13
  • 2022-12-23
  • 2021-06-16
  • 2021-07-14
  • 2022-01-18
  • 2022-01-21
相关资源
相似解决方案