1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-21 15:15:26 +02:00
tldr/pages/common/jj-git-fetch.md
2025-07-09 06:08:55 +03:00

20 lines
536 B
Markdown

# jj git fetch
> Fetch from a Git remote, downloading objects and refs from the remote repository.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-git-fetch>.
- Fetch the latest changes from the default remote repository:
`jj git fetch`
- Fetch the latest changes from a given remote repository:
`jj git fetch --remote {{remote}}`
- Fetch the latest changes only from given branches:
`jj git fetch {{[-b|--branch]}} {{branch}}`
- Fetch the latest changes from all remotes:
`jj git fetch --all-remote`