Add the ✔ sign before an item which is affected by this behavior.
NexT Version:
NexT Scheme:
😄 还没使用新版本吗
@Neveryu 昨天发现了,今天已经更新了!!
就是想问下,Git没有了,而且我自己修改了些样式(比如说头像变园,鼠标放上去旋转之类的),现在要是升级,怎样才能安全升级?
另外,请问下更新日志在哪里查看?
@sanyucz 替换文件的时候可以吧自己修改过的文件与更新后的文件diff比对,然后修改。如果你有fork项目,可以参考更新fork项目.
更新日志可以直接看commit日志
@amoyiki @sanyucz 对,先git fetch下来,然后和你的当前分支合并,有冲突就改一下,完事,挺简单的。
@aixiu @amoyiki
因为我对整个博客(包括主题、文章)全部用Git做了备份,所以,单独的主题目录是没有仓库。
也就是说,在主题的文件目录下,是不能 git pull 或者 git diff,请问在这种情况下,怎么更新比较好?
要是自己改了主题感觉 conflicts 会比较多,不知有没有什么更优雅简单的方案。 https://github.com/iissnan/hexo-theme-next/issues/1201
@Maples7 新建一个分支,pull 只更新到 master,然后从 master 合并到自己的分支。
@geekrainy thx, I'll have a try
成功升级,目前还没发现什么问题。
解决冲突还是需要点时间的,说一下我的流程:
git init -> git add . -> git commit -m 'init';git remote add downstream [email protected]:iissnan/hexo-theme-next.git;git fetch downstream v5.1.0;git merge --no-ff FETCH_HEAD --allow-unrelated-histories;hexo s -d 查看 localhost:4000 具体页面上有哪些变动(明显的比如自定义页面在顶部比原来多了标题);hexo clean && hexo g -d 了;
Most helpful comment
成功升级,目前还没发现什么问题。
解决冲突还是需要点时间的,说一下我的流程:
git init->git add .->git commit -m 'init';git remote add downstream [email protected]:iissnan/hexo-theme-next.git;git fetch downstream v5.1.0;git merge --no-ff FETCH_HEAD --allow-unrelated-histories;hexo s -d查看 localhost:4000 具体页面上有哪些变动(明显的比如自定义页面在顶部比原来多了标题);hexo clean && hexo g -d了;