2022-10-12 12:09:41 +01:00
|
|
|
# dolt fetch
|
|
|
|
|
|
|
|
> Download objects and refs from another repository.
|
2023-11-19 21:07:13 +00:00
|
|
|
> More information: <https://docs.dolthub.com/cli-reference/cli#dolt-fetch>.
|
2022-10-12 12:09:41 +01:00
|
|
|
|
|
|
|
- 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`
|