Create or reinitialize an empty workspace
$bit init [path]
Copiedcopy
Additional Notes
if the current directory is already a workspace, it validates that bit files are correct and rewrite them if needed.

Options

OptionOption AliasDescriptionValue Type
--name-nname of the workspacestring
--standalone-Tdo not nest component store within .git directory and do not write config data inside package.jsonboolean
--no-package-json-do not generate package.jsonboolean
--reset-rwrite missing or damaged Bit filesboolean
--reset-new-reset .bitmap file as if the components were newly added and remove all model data (objects)boolean
--reset-lane-new-same as reset-new, but it only resets components belong to lanes. main components are left intactboolean
--reset-hard-delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-starting workspace from scratchboolean
--reset-scope-removes local scope (.bit or .git/bit). tags/snaps that have not been exported will be lost. workspace is left intactboolean
--default-directory-dset the default directory pattern to import/create components intostring
--default-scope-set the default scope for components in the workspacestring
--force-fforce workspace initialization without clearing local objectsboolean
--bare-binitialize an empty bit bare scopestring
--shared-sadd group write permissions to a scope properlystring