2024-12-01
453 words
2 mins
创建博客
最近折腾了一下hexo博客,在此将重要的地方记录下来
1、git操作git连接远程仓库
12345678# 初始化仓库git init# 连接远程仓库git remote add <仓库名称> <仓库地址># 第一次提交,绑定分支git add .git commit -m "commit"git push -u <仓库名称> <分支名称>
git连接子模块
1git submodule add <仓库地址> <子模块目录>
git克隆
1git clone <仓库地址> <仓库目