mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
542 B
Plaintext
22 lines
542 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# dolt fetch
|
|
|
|
> Download objects and refs from another repository.
|
|
> More information: <https://docs.dolthub.com/cli-reference/cli#dolt-fetch>.
|
|
|
|
- Fetch the latest changes from the default remote upstream repository (origin):
|
|
|
|
`dolt fetch`
|
|
|
|
- Fetch latest changes from a specific remote upstream repository:
|
|
|
|
`dolt fetch {{remote_name}}`
|
|
|
|
- Update branches with the current state of the remote, overwriting any conflicting history:
|
|
|
|
`dolt fetch -f`
|