type
status
date
slug
summary
tags
category
icon
password
1. 安装git
2. 本地git连接github账号
3. 创建github仓库
创建仓库并复制仓库地址
notion image
notion image
4. 本地项目初始化并连接仓库
打开项目文件右键选择 Git Bash Here
notion image
初始化git,把这个文件夹变成Git可管理的仓库
把本地项目的origin分支与github仓库进行关联
notion image
5. 把项目上传到github
查看文件状态
notion image
把工作区的文件添加到暂存区
notion image
把暂存区的文件提交到本地仓库
notion image
把本地仓库的origin分支文件push到github仓库的master分支
notion image
提交完成
notion image
6. 拉取项目到本地
在要拉取项目的文件夹右键选择 Git Bash Here
notion image
拉取项目
notion image
notion image
7. 更新项目
检查文件并添加到暂存区
notion image
notion image
更新项目到github
notion image
notion image
搭建Hexo博客并部署到github本地git工具绑定github账号
Loading...
Kougami
Kougami
Life Will Change
统计
文章数:
18
公告
てへぺりんこ