📜  worktree prune 做了什么 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:22.763000             🧑  作者: Mango

代码示例1
$ mkdir a
$ cd a
$ git init
$ git commit --allow-empty --allow-empty-message -m ''
$ git worktree add ../b
$ ls .git/worktrees/
b
$ rm -rf ../b
$ git worktree prune
$ ls .git/worktrees/
$