摘要: git subtree push --prefix=dist origin gh-pages 提交 dist 目录到 gh-pages 分支 Make sure your: --prefix folder is known to git. If needed add and commit it fi 阅读全文
posted @ 2021-03-08 10:45 winyh 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 1. package.json 文件里 homepage设置 https://your-git-user-name.github.com/your-git-name 2.需要展示的页面不能被 .gitignore 文件忽略(否则默认展示 README.md 文件内容) 3.设定指定目录 https: 阅读全文
posted @ 2021-03-08 10:39 winyh 阅读(206) 评论(0) 推荐(0) 编辑