mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
518 B
Plaintext
18 lines
518 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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|--initial-branch]}} "{{branch_name}}"`
|