子模块

在更新hexo的时候,由于魔改需要,需要动用themes/butterfly/内的的一些配置文件
之前 这个主题

1
git submoudles add ---

tree [blogroot]
还好我精,把cloud备份了一下
ps:

1
2
cloud 是我的原来工作目录 
backup是我的备份目录
1
2
3
4
5
6
7
8
9
10
11
12







tree -L 1
.
├── backup
├── cloud

当前状况

这也造成了统计表本地正常显示,但gitpages ,vercel无法正常显示,因为本地的themes不会上传,到了gitpages和vercel时候自动拉取原作者仓库,

命令日志:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110

: 1691207899:0;cd themes/butterfly\
git add .\
git commit -m "Update butterfly theme"\
git push
: 1691232138:0;git add .&&git push \

: 1691232147:0;git add .&&git commit -a "8.5"&&git push \

: 1691232152:0;git add .&&git commit -m "8.5"&&git push \

: 1691232267:0;hexo cl&&hexo g&&hexo s -p 9966
: 1691232681:0;git add .&&git commit -m "8.5"&&git push \

: 1691232689:0;ls
: 1691232702:0;git add themes
: 1691232725:0;git add .&&git commit -m "8.5"&&git push \

: 1691232733:0;git add .&&git push \

: 1691232753:0;git commit -a&&git push \

: 1691232877:0;git add .&&git push \

: 1691232886:0;git add .&&git commit -m "8.5"&&git push \

: 1691232902:0;mkdir ../backup
: 1691232932:0;cp -r ./* ../backup
: 1691232943:0;cd ../backup
: 1691232945:0;ls
: 1691233135:0;hexo cl
: 1691233162:0;ls -a
: 1691233190:0;cp -r ../cloud/* .
: 1691233199:0;sudo cp -r ../cloud/* .
: 1691233256:0;cd themes/butterfly\

: 1691233257:0;ls
: 1691233268:0;rm .git -rf
: 1691233272:0;cd ..
: 1691233298:0;hexo cl&&hexo g&&hexo s -p 9966
: 1691233397:0;cd ..
: 1691233404:0;ls
: 1691233408:0;ls -a
: 1691233416:0;git add .&&git commit -m "8.5"&&git push \

: 1691233430:0;cp -r ../cloud/*.* .
: 1691233440:0;ls -a
: 1691233443:0;cp -r ../cloud/*.* .
: 1691233447:0;cp -r ../cloud/ .
: 1691233465:0;cp -r ../cloud/.* .
: 1691233473:0;ls
: 1691233533:0;git add .&&git commit -m "8.5"&&git push origin dev1
: 1691233564:0;git add .&&git commit -m "8.5"&&git push \
: 1691233566:0;git add .&&git commit -m "8.5"&&git push
: 1691233575:0;git add .&&git push
: 1691233598:0;cd themes
: 1691233601:0;cd butterfly
: 1691233604:0;ls -a
: 1691233610:0;cd ..
: 1691233619:0;git add themes
: 1691233624:0;git add themes/butterfly
: 1691233638:0;git add ../themes/butterfly
: 1691233642:0;cd ..
: 1691233786:0;git rm -rf themes/butterfly/submodule
: 1691233807:0;git submodule add https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly --force\
\
\

: 1691233841:0;git rm -rf themes/butterfly\

: 1691233850:0;git clone https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
: 1691233871:0;git add .&&git commit -m "8.5"&&git push
: 1691233887:0;cd themes
: 1691233888:0;ls
: 1691233894:0;cd butterfly
: 1691233897:0;ls -a
: 1691233907:0;rm .git -rf
: 1691233909:0;cd ..
: 1691233918:0;git add .&&git commit -m "8.5"&&git push
: 1691234131:0;ls
: 1691234214:0;mv ../cloud/themes/butterfly/layout ./themes/butterfly/layout
: 1691234276:0;mv ./themes/butterfly/layout/layout/* ./themes/butterfly/layout/
: 1691234282:0;mv ./themes/butterfly/layout/layout/* ./themes/butterfly/layout/ -f
: 1691234290:0;mv ./themes/butterfly/layout/layout/* ./themes/butterfly/layout/ -force
: 1691234372:0;mv ../cloud/themes/butterfly/layout ./themes/butterfly/layout
: 1691234376:0;mv ../cloud/themes/butterfly/layout ./themes/butterfly/
: 1691234441:0;cd ../cloud
: 1691234443:0;ls
: 1691234447:0;code .
: 1691234463:0;ls
: 1691234468:0;cd themes/butterfly/
: 1691234469:0;ls
: 1691234516:0;cd ../backup
: 1691234517:0;ls
: 1691234540:0;cp -r ../cloud/themes/butterfly/layout themes/butterfly/
: 1691234643:0;cp -r ../cloud/themes/butterfly/scripts themes/butterfly
: 1691234720:0;diff ../cloud/themes/butterfly/ themes/butterfly/
: 1691234744:0;diff ../cloud/themes/butterfly/scripts themes/butterfly/scripts
: 1691234764:0;hexo cl&&hexo g&&hexo s -p 9966
: 1691234853:0;diff ../cloud/ .
: 1691234870:0;hexo cl
: 1691234874:0;diff ../cloud/ .
: 1691234885:0;hexo cl ../cloud
: 1691234888:0;diff ../cloud/ .
: 1691234926:0;git add .&&git commit -m "8.5"&&git push
: 1691235944:0;cd ..
: 1691235951:0;tree -L 2
: 1691235954:0;tree -L 1
: 1691236487:0;tail ~/.zsh_history
: 1691236496:0;cat ~/.zsh_history

反正最后把子模块删了,把原来的改动备份过来了,正常能跑起来

目前是有俩网址能访问的

网站地址

py-lwb.github.io ->李.gq
leebro.link ->www.leebro.link 都是重定向

明日停更

写作业