Skip to content

Commit

Permalink
chore(script): 添加附属仓库 custom-block 的管理脚本 | Add management scripts f…
Browse files Browse the repository at this point in the history
…or sub-repository `custom-block`.
  • Loading branch information
Zuoqiu-Yingyi committed Jul 2, 2023
1 parent 2eefbcd commit f800477
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- 更新依赖项 | Update dependencies.
- 网页视图支持自定义网页背景颜色 | Web view supports custom web page background color.
- 添加附属仓库 `custom-block` 的管理脚本 | Add management scripts for sub-repository `custom-block`.

## 2023-06-21

Expand Down
5 changes: 5 additions & 0 deletions scripts/git-subtree/custom-block/add.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
git subtree add `
-P workspace/plugins/custom-block `
https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-block.git `
dev `
--squash
4 changes: 4 additions & 0 deletions scripts/git-subtree/custom-block/pull.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
git subtree pull `
-P workspace/plugins/custom-block `
https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-block.git `
dev
4 changes: 4 additions & 0 deletions scripts/git-subtree/custom-block/push.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
git subtree push `
-P workspace/plugins/custom-block `
https://github.com/Zuoqiu-Yingyi/siyuan-plugin-custom-block.git `
dev
3 changes: 3 additions & 0 deletions scripts/git-subtree/custom-block/split.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
git subtree split `
-P workspace/plugins/custom-block `
--rejoin

0 comments on commit f800477

Please sign in to comment.