LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

dolt-init

Create a new Dolt data repository

TLDR

Initialize a Dolt repository in the current directory
$ dolt init
copy
Initialize with a specific initial branch name
$ dolt init -b [main]
copy
Initialize with author name and email
$ dolt init --name "[John Doe]" --email "[john@example.com]"
copy
Initialize with a custom date for the initial commit
$ dolt init --date "[2024-01-01T00:00:00]"
copy

SYNOPSIS

dolt init [options]

DESCRIPTION

dolt init creates a new, empty Dolt repository in the current directory. It initializes the `.dolt` directory structure containing metadata, configuration, and the underlying storage for version-controlled SQL databases.This is typically the first command run when starting a new Dolt project. The initialized repository can immediately accept table creation, data insertion, and commits. An initial branch is created (default name "main", customizable with `-b`).User identity information (name and email) can be provided during initialization or inherited from global configuration. This identity is used for authorship of all subsequent commits.The command will fail if the current directory already contains an initialized Dolt repository.

PARAMETERS

-b, --initial-branch string

Name of the initial branch. If not provided, uses `init.defaultbranch` from global config (default "main").
--name string
Author name for the initial commit. If not provided, uses `user.name` from global config.
--email string
Author email for the initial commit. If not provided, uses `user.email` from global config.
--date string
Date to use for the initial commit. If not specified, the current system time is used.
--fun
Create the repository with a fun initial commit message.

INSTALL

sudo pacman -S dolt
copy
brew install dolt
copy
nix profile install nixpkgs#dolt
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid