Skip to content

Commit 151dda7

Browse files
committed
git subtree test
1 parent 4eac30c commit 151dda7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

git-subtree/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,11 @@ use vitepress to record something
99
## 更新 subtree
1010

1111
- git subtree pull --prefix=git-subtree https://github.com/Bluestar123/day-blog.git main
12+
13+
## 提交
14+
15+
可以设置别名 git remote add child-name https://github.com/Bluestar123/day-blog.git
16+
17+
- git subtree push --prefix=git-subtree child-name main
18+
19+
## subtree 不需要像 submodule 一样递归更新子项目。直接就可以拉下来

0 commit comments

Comments
 (0)