tldr/pages/common/dolt-init.md

13 lines
402 B
Markdown

# dolt init
> Create an empty Dolt data repository.
> More information: <https://docs.dolthub.com/cli-reference/cli#dolt-init>.
- Initialize a new Dolt data repository in the current directory:
`dolt init`
- Initialize a new Dolt data repository creating a commit with the specified metadata:
`dolt init --name "{{name}}" --email "{{email}}" --date "{{2021-12-31T00:00:00}}" -b "{{branch_name}}"`