Files
tldr/pages.zh/common/dolt-fetch.md

16 lines
399 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# dolt fetch
> 从另一个仓库下载对象和引用。
> 更多信息:<https://docs.dolthub.com/cli-reference/cli#dolt-fetch>。
- 从默认的远程上游仓库origin获取最新的更改
`dolt fetch`
- 从特定的远程上游仓库获取最新的更改:
`dolt fetch {{remote_name}}`
- 使用远程的当前状态更新分支,覆盖任何冲突的历史:
`dolt fetch -f`