1、由本地仓库文件夹进入git 本地仓库文件夹右键—>Git Bash Here 我的文件夹如下:
2、向仓库子文件夹中传文件 ① 进入目标文件夹:$ cd css ② 添加要上传文件名:$ git add style_3.css ③ 添加注释:$ git commit -m "with style_3.css" ④ 传入Github:$ git push -u origin master Github端上传文件之前: Github端上传文件之后: