第一篇博客

发布日期:2024-12-31
更新日期:2025-01-13
分类:技术分享
字数:284

''' 注释这是注释 ''' 注释 ''' 差不多了 ''' 在这里写入博客正文... '''

新建博客

npm run new

预览博客

npm run preview

priority表示博客的优先级,数字越大,优先级越高

0 普通
1 普通,按创建顺序从上到下排列
>1 置顶

banlan1.jpg

使用http推送github

git push -u https://[email protected]/name/repo.git master

使用ssh推送github

git clone [email protected]:2005zs/simpleblog.git//https不通的时候,用ssh来clone
git remote remove origin  //移除现有的 HTTPS 远程仓库
git remote add origin [email protected]:name/repo.git  //添加 SSH 远程仓库
git push -u origin master  //推送代码到远程仓库
git remote -v  //查看远程仓库
git remote set-url origin [email protected]:name/repo.git  //设置远程仓库
git add .  //暂存所有更改
git commit -m "first commit"  //提交更改
git push -u origin master  //推送代码到远程仓库
git log  //查看提交历史

小音乐舞蹈听听嘻嘻


预览图片