dolt-init: add page (#8833)
This commit is contained in:
12
pages/common/dolt-init.md
Normal file
12
pages/common/dolt-init.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# 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}}"`
|
Reference in New Issue
Block a user