Moves a file/directory that’s part of a tracked component to a new location. This command will update the .bitmap file accordingly.
bit move|mv <from> <to>
Move a file that’s part of a tracked component
bit move src/foo/bar/index.js src/components/new/location/new-file-name.js
Move a directory that’s part of a tracked component
bit move src/foo src/components/new/location/foo
Rename a component
Similar to Git, you can also use
move to rename files within a component.
$ bit move <oldDirName> <newDirName> $ bit move <oldFileName> <newFileName>