bit
Backup and restore Git repositories
SYNOPSIS
bit [global-options] <command> [command-options] [args]
PARAMETERS
--help
Show help for command
--version
Show bit version
--debug
Enable debug logging
--log-level <level>
Set log level (error, warn, info, debug)
--verbose
Increase verbosity
--quiet
Reduce output
--config <path>
Path to config file
--workspace-config <path>
Path to workspace config
--env <name>
Set runtime environment
--strict
Enforce strict config validation
DESCRIPTION
The bit command is not part of standard Linux distributions' core utilities (e.g., coreutils, util-linux, procps-ng). No man page exists for bit(1) in typical systems. It typically refers to third-party software, most notably the CLI tool from Bit.dev (formerly Teambit), a platform for developing, versioning, and sharing independent software components across projects.
This tool treats components as first-class citizens, enabling a workspace model where code snippets, React components, or Node modules are tracked separately from repositories. Installation requires Node.js/npm: nvm use node; npm i -g @teambit/bvm; bvm install bit latest. It integrates with Git for versioning.
Other less common 'bit' tools exist, like Brainfuck interpreters in AUR or custom scripts. Always verify with which bit or bit --help. Without context, usage varies widely. For Bit.dev, it streamlines monorepo-like workflows without full monorepos.
CAVEATS
Not pre-installed; requires manual setup via npm/bvm. Node.js dependency. Options and commands vary by version; check bit --help. May conflict with custom scripts.
INSTALLATION
curl -o bvm.sh https://bit.dev/install.sh && chmod +x bvm.sh && ./bvm.sh; bvm install bit latest
COMMON COMMANDS
bit init - Initialize workspace
bit add src/my-comp - Add component
bit tag --major 1.0.0 - Tag release
bit export - Export to scope
VERIFICATION
Run bit doctor for env diagnostics or bit status for workspace state.
HISTORY
Bit CLI originated around 2017-2018 by Teambit (now Bit.dev). Evolved from component sharing needs in micro-frontends. Major versions align with platform updates; v17+ introduced new workspace model. Actively maintained as of 2023.


