使用git更新Github仓库文件

xiaoxiao2021-02-28  34

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端上传文件之后:

转载请注明原文地址: https://www.6miu.com/read-2629524.html

最新回复(0)