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

Examples

  • Init and Open a repository

$ vb init close_repo.vbyte
project-id: fb321d7b74c7c55b24949f15042a71fd31d65a0c
server-id:  338a96a08c7b9d0d764be5e560b1e3d0d36605cd
admin-user: ubuntu (initial remote-access password is "mcaDoeRy2Y")
$ 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: fb321d7b74c7c55b24949f15042a71fd31d65a0c
checkout:     1779f853702ead64343eac351ec3cde15f69981c 2026-03-31 13:00:10 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

See Also

See also

open