close¶
vb close [OPTIONS]
Description¶
The opposite of open. Close the current database connection.
Require a -f or --force flag if there are unsaved changes in the
current check-out or if there is non-empty stash.
Options¶
- -f, --force¶
Necessary to close a check-out with uncommitted changes
See Also¶
See also
Examples¶
Init and Open a repository
$ vb init close_repo.vbyte
project-id: 449d40d29c49311fa9cce1ff5191a6e1b33ad9b9
server-id: cc6c9b2caa1ed31e7819ba7d36b9bde9b4d2e298
admin-user: ubuntu (initial remote-access password is "DdBy3MGR25")
$ vb open -f close_repo.vbyte
project-name: <unnamed>
repository: /tmp/sphinx_tests/8fff3545/close_repo/close_repo.vbyte
local-root: /tmp/sphinx_tests/8fff3545/close_repo/
config-db: /tmp/sphinx_tests/8fff3545/.visionbyte
project-code: 449d40d29c49311fa9cce1ff5191a6e1b33ad9b9
checkout: 36fbd039b1bac74738f7a7985426349166306fe5 2026-03-20 03:02:57 UTC
tags: trunk
comment: initial empty check-in (user: ubuntu)
check-ins: 1
Close the current repository
$ vb sys ls
close_repo.vbyte
$ vb close
$ vb sys ls
close_repo.vbyte