Skip to content

Commit 37722c5

Browse files
committed
add readme.md
1 parent 3a753e5 commit 37722c5

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,35 @@
1-
#readme
1+
#提交说明
2+
3+
* 主干分支:master
4+
* 分支:gh-pages
5+
6+
## 一、主干分支修改:
7+
######
8+
* 1、docs下增加MD文件
9+
* 2、build html:mkdocs build
10+
* 3、提交master 分支
11+
12+
```
13+
14+
git checkout master
15+
git add .
16+
git commit -m "...."
17+
git push origin master
18+
19+
```
20+
21+
22+
## 二、gh-pages干分支修改:
23+
######
24+
* 1、经过`mkdocs build`之后,需要将得到的html提交
25+
* 2、切换gh-pages分支,提交等
26+
27+
```
28+
29+
git checkout gh-pages
30+
echo "jackeyt.cn" > CNAME
31+
git add .
32+
git commit -m "...."
33+
git push origin master
34+
35+
```

0 commit comments

Comments
 (0)