You need to do the following
git fetch -p
The -p
or --prune
argument will update the local database of remote branches.
More Related Contents:
- How do I force "git pull" to overwrite local files?
- Git fetch remote branch
- Retrieve specific commit from a remote Git repository
- Having a hard time understanding git-fetch
- What does FETCH_HEAD in Git mean?
- fetch in git doesn’t get all branches
- Does “git fetch –tags” include “git fetch”?
- Why does git say “Pull is not possible because you have unmerged files”?
- How to update a git clone –mirror?
- git fetch, FETCH_HEAD and origin/master
- git refusing to fetch into current branch
- What is the difference between git pull and git fetch + git rebase?
- Is it possible to pull just one file in Git?
- `git fetch` a remote branch
- “fetch –all” in a git bare repository doesn’t synchronize local branches to the remote ones
- GIT pull error – remote object is corrupted
- Differences between git remote update and fetch?
- The following untracked working tree files would be overwritten by merge, but I don’t care
- Break a previous commit into multiple commits
- git status shows modifications, git checkout — doesn’t remove them
- Git merge reports “Already up-to-date” though there is a difference
- How do I diff the same file between two different commits on the same branch?
- How can I get Git to follow symlinks?
- Install npm module from gitlab private repository
- How to disable osxkeychain as credential helper in git config?
- How do negated patterns work in .gitignore?
- How to merge specific files from Git branches
- Git refuses to reset/discard files
- Git cannot lock ref ‘HEAD’: unable to resolve reference HEAD
- How to reparent in Git