海mia婊婊想上岸

导航

2024年12月1日

hexo d 部署时候提示branch 'master' set up to track

摘要: 明明hexo博客的本地和远程仓库的主分支都是main,_config.yml里写的也是main分支,但是部署的时候却提示branch 'master' set up to track 'https://github.com/xxx/xxx.git/main'.,逼死强迫症。 deploy: type 阅读全文

posted @ 2024-12-01 20:33 海mia婊婊想上岸 阅读(125) 评论(0) 推荐(0)

error: src refspec main does not match any

摘要: 尝试把远程仓库与本地仓库建立联系时遇到的问题: 我复制github的推荐的指令,尝试推送文件到github。 git init git remote add origin git@github.com:wanqing99/wanqing99.github.io.git git branch -M m 阅读全文

posted @ 2024-12-01 13:34 海mia婊婊想上岸 阅读(186) 评论(0) 推荐(0)