我的博客
开始
- 下载 Git Bash
- 选中想上传到 GitHub 的文件夹,右击选择 Git Bash Here

文章图片
【如何将项目使用Git上传到Github、Gitee】之后进入到 Git Bash 界面

文章图片
初始化
git init
将所有文件添加到仓库中
git add .
注意: add 后面加个空格再加个".",这里没有打错!

文章图片
像这样就成功了
连接远程仓库
git remote add origin 仓库地址
将add的文件 commit 到仓库
git commit -m "注释语句"
"注释语句": 对 项目/文件 的注释介绍

文章图片
像这样就 O98K 了
提交 最后直接进行提交!
git push origin master

文章图片
像这样就提交成功啦!快去 GitHub 上看看吧。