tree¶
vb tree [OPTIONS] [PATHS ...]
Description¶
List all files in the current check-out much like the tree
command does. If PATHS is included, only the named files
(or their children if directories) are shown.
Options¶
- -r VERSION¶
The specific check-in to list
- -R, --repository REPO¶
Extract info from repository REPO
See Also¶
See also
Examples¶
Init and open a repository
$ vb init tree_repo.vbyte
project-id: 7fcefd325dbecf6c865f3b6367e395656a847e75
server-id: 80b96a657a9ab062d39c04d53fa933ed32ad7a4f
admin-user: ubuntu (initial remote-access password is "K9nQ5dFChk")
$ vb open -f tree_repo.vbyte
project-name: <unnamed>
repository: /tmp/sphinx_tests/0496f9a3/tree_repo/tree_repo.vbyte
local-root: /tmp/sphinx_tests/0496f9a3/tree_repo/
config-db: /tmp/sphinx_tests/0496f9a3/.visionbyte
project-code: 7fcefd325dbecf6c865f3b6367e395656a847e75
checkout: b4225858874ca455a095efc699be3d62bbc309b6 2026-03-20 03:04:04 UTC
tags: trunk
comment: initial empty check-in (user: ubuntu)
check-ins: 1
Create a small directory tree and commit it
$ vb sys mkdir src
$ vb sys mkdir src\lib
$ vb sys echo "# h" > README.md
$ vb sys echo "int main(){}" > src\main.c
$ vb sys echo "void helper(){}" > src\lib\helper.c
$ vb add .
ADDED README.md
ADDED srclibhelper.c
ADDED srcmain.c
$ vb ci -m "seed"
Committed version: ad6dcc187821a6771815ffcd3de427657099c8971c2f5ae725ad9cd10e01f53a
Show the tracked tree for the current checkout
$ vb tree
/tmp/sphinx_tests/0496f9a3/tree_repo/
├── README.md
├── srclibhelper.c
└── srcmain.c