commands.sh

dolt init

all

Create an empty Dolt data repository.

More info →

Options (1)

-b, --initial-branchboolean

Initialize a new Dolt data repository creating a commit with the specified metadata

Example: dolt init --name "{{name}}" --email "{{email}}" --date "{{2021-12-31T00:00:00}}" {{[-b|--initial-branch]}} "{{branch_name}}"

Examples (2)

Initialize a new Dolt data repository in the current directory

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|--initial-branch] "branch_name"
made by @shridhargupta | data from tldr-pages