mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
30
tldr/dolt
30
tldr/dolt
@@ -5,14 +5,34 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dolt
|
||||
|
||||
> An SQL database that you can fork, clone, branch, merge, push and pull just like a Git repository.
|
||||
> An SQL database that you can fork, clone, branch, merge, push, and pull just like a Git repository.
|
||||
> Some subcommands such as `commit` have their own usage documentation.
|
||||
> More information: <https://docs.dolthub.com/cli-reference/cli>.
|
||||
|
||||
- Execute a `dolt` subcommand:
|
||||
- Initialize a new Dolt data repository:
|
||||
|
||||
`dolt {{subcommand}}`
|
||||
`dolt init`
|
||||
|
||||
- List available subcommands:
|
||||
- Show the current working tree status:
|
||||
|
||||
`dolt help`
|
||||
`dolt status`
|
||||
|
||||
- Add a remote Dolt repository:
|
||||
|
||||
`dolt remote add {{repository_name}} {{url}}`
|
||||
|
||||
- Stage changes to tables:
|
||||
|
||||
`dolt add {{table_name}}`
|
||||
|
||||
- Record staged changes to the repository:
|
||||
|
||||
`dolt commit {{[-m|--message]}} "{{commit_message}}"`
|
||||
|
||||
- Push local changes to a remote:
|
||||
|
||||
`dolt push`
|
||||
|
||||
- Pull changes from a remote:
|
||||
|
||||
`dolt pull`
|
||||
|
||||
31
tldr/pip3
31
tldr/pip3
@@ -5,33 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pip3
|
||||
|
||||
> Python package manager.
|
||||
> More information: <https://pip.pypa.io>.
|
||||
> This command is an alias of `pip`.
|
||||
|
||||
- Install a package:
|
||||
- View documentation for the original command:
|
||||
|
||||
`pip3 install {{package}}`
|
||||
|
||||
- Install a specific version of a package:
|
||||
|
||||
`pip3 install {{package}}=={{version}}`
|
||||
|
||||
- Upgrade a package:
|
||||
|
||||
`pip3 install {{[-U|--upgrade]}} {{package}}`
|
||||
|
||||
- Uninstall a package:
|
||||
|
||||
`pip3 uninstall {{package}}`
|
||||
|
||||
- Save the list of installed packages to a file:
|
||||
|
||||
`pip3 freeze > {{requirements.txt}}`
|
||||
|
||||
- Install packages from a file:
|
||||
|
||||
`pip3 install {{[-r|--requirement]}} {{requirements.txt}}`
|
||||
|
||||
- Show installed package info:
|
||||
|
||||
`pip3 show {{package}}`
|
||||
`tldr pip`
|
||||
|
||||
Reference in New Issue
Block a user