Fetches remote branches and tags
After cloning a repository or adding a remote to your existing project, you can fetch all branches and tags from all connected remote Git repositories via the Command Palette or the terminal.
Fetch branches via the Command Palette
- Open the Command Palette
- Run the
Git: Fetch remote branches and tags
command (typefetch
and press Enter)
Fetch branches using the terminal
Fetch all remote branches by running the following command in your terminal:
git fetch --all