Skip to content

Commit

Permalink
📖 更新文章
Browse files Browse the repository at this point in the history
  • Loading branch information
fxzer committed Jan 25, 2024
1 parent ad02af6 commit 567c5a1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env sh

set -e

rm -rf dist
pnpm build

cd dist
Expand All @@ -17,4 +17,4 @@ git push -f [email protected]:fxzer/zerdocs.git main:gh-pages

cd ..

rm -rf dist

7 changes: 7 additions & 0 deletions docs/FrontEnd/Git/Git常用操作.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,10 @@ npm install -g cz-conventional-changelog
```zsh
git fetch --unshallow origin # 取消浅克隆,拉取完整的仓库
```

## Git Module

拉取依赖其他模块的项目时,需要初始化子模块,下列两种方式均可:

1. `git clone --recursive https://github.com/xxx/yyy.git`
2. `git clone https://github.com/xxx/yyy.git``git submodule update --init --recursive`

0 comments on commit 567c5a1

Please sign in to comment.