mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-07 03:05:59 -05:00
Update README.md
This commit is contained in:
@@ -12,6 +12,38 @@ DoltHub is GitHub for Dolt, a place on the internet to share Dolt repositories.
|
||||
|
||||
Why Dolt? To pay homage to Git! [Linus Torvalds famously said he names his products after himself](https://en.wikipedia.org/wiki/Git#Naming), Linux and Git. Git is British slang for idiot. We needed a word that meant idiot that started with 'D' for data that was short enough to type on the command line. Hence, Dolt.
|
||||
|
||||
# Dolt Command Line
|
||||
|
||||
```
|
||||
bash$ dolt
|
||||
Valid commands for dolt are
|
||||
init - Create an empty Dolt data repository.
|
||||
status - Show the working tree status.
|
||||
add - Add table changes to the list of staged table changes.
|
||||
reset - Remove table changes from the list of staged table changes.
|
||||
commit - Record changes to the repository.
|
||||
sql - Run a SQL query against tables in repository.
|
||||
sql-server - Starts a MySQL-compatible server.
|
||||
log - Show commit logs.
|
||||
diff - Diff a table.
|
||||
merge - Merge a branch.
|
||||
branch - Create, list, edit, delete branches.
|
||||
checkout - Checkout a branch or overwrite a table from HEAD.
|
||||
remote - Manage set of tracked repositories.
|
||||
push - Push to a dolt remote.
|
||||
pull - Fetch from a dolt remote data repository and merge.
|
||||
fetch - Update the database from a remote data repository.
|
||||
clone - Clone from a remote data repository.
|
||||
creds - Commands for managing credentials.
|
||||
login - Login to a dolt remote host.
|
||||
version - Displays the current Dolt cli version.
|
||||
config - Dolt configuration.
|
||||
ls - List tables in the working set.
|
||||
schema - Display the schema for table(s)
|
||||
table - Commands for creating, reading, updating, and deleting tables.
|
||||
conflicts - Commands for viewing and resolving merge conflicts.
|
||||
```
|
||||
|
||||
# Getting Started
|
||||
|
||||
## Installation
|
||||
|
||||
Reference in New Issue
Block a user