19 lines
389 B
Markdown
19 lines
389 B
Markdown
# Tips list
|
|
|
|
## git tips
|
|
|
|
git clone by ssh
|
|
|
|
```sh
|
|
git clone ssh://git@192.168.2.166:3122/WFC/build.wfc.git
|
|
git remote set-url origin git@192.168.2.166:3122/zhangsz/WFC/be.wfc.git
|
|
```
|
|
|
|
## docker tips
|
|
|
|
使用 Docker 日志清理工具
|
|
你可以使用 Docker 提供的 docker system prune 命令来清理未使用的数据,包括日志文件:
|
|
|
|
```sh
|
|
docker system prune -a
|
|
``` |