dolt-init: add page (#8833)

pull/1/head
Torfab 2022-10-16 01:12:34 +02:00 committed by GitHub
parent d193c1231d
commit 5a5cfc61ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
pages/common/dolt-init.md Normal file
View 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}}"`