mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 08:22:09 +02:00
15 lines
319 B
Markdown
15 lines
319 B
Markdown
# git fetch
|
|
|
|
> Download objects and refs from a remote repository.
|
|
|
|
- Fetch new branches from upstream, and update local remote-tracking branches:
|
|
|
|
`git fetch {{remote_name}}`
|
|
|
|
- Fetch the latest changes from all remote git servers:
|
|
|
|
`git fetch --all`
|
|
|
|
- Also fetch tags from the remote repository:
|
|
|
|
`git fetch --tags`
|