Files
30-seconds-of-code/snippets/fetch-changes.md
2023-04-28 22:15:54 +03:00

20 lines
365 B
Markdown

---
title: Fetch latest changes from remote
type: snippet
tags: [repository]
cover: playing-fetch
dateModified: 2021-04-13T21:10:59+03:00
---
Fetches the latest changes from the remote.
- Use `git fetch` to get the latest changes from the remote, without applying them.
```shell
git fetch
```
```shell
git fetch # Fetches the latest updates from the remote
```